Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding cert with different "name" #3

Open
TJM opened this issue Aug 14, 2018 · 1 comment
Open

Error adding cert with different "name" #3

TJM opened this issue Aug 14, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@TJM
Copy link
Member

TJM commented Aug 14, 2018

If the cert is already added to the kdb file, but with a different name, the add will fail like so:

Error: /Stage[main]/Aixldap::Configure/Exec[trust-adldap-cert]: Failed to call refresh: 'gsk8capicmd_64 -cert -add -db '/usr/lib/security/adldap.kdb' -pw 'xxxxxx' -type cms -file '/usr/lib/security/adldap.crt' -trust enable -format ascii -label 'adldap'' returned 24 instead of one of [0]
Error: /Stage[main]/Aixldap::Configure/Exec[trust-adldap-cert]: 'gsk8capicmd_64 -cert -add -db '/usr/lib/security/adldap.kdb' -pw 'xxxxxx' -type cms -file '/usr/lib/security/adldap.crt' -trust enable -format ascii -label 'adldap'' returned 24 instead of one of [0]

Workaround: rm /usr/lib/security/adldap.*

@TJM TJM added the bug Something isn't working label Oct 24, 2018
@TJM
Copy link
Member Author

TJM commented Apr 19, 2019

This would probably be something best handled by a proper type/provider, rather than random "exec(s)" ... However I do not currently have the time to work on that. I welcome PR's :)

~tommy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant