I tried to renew system certificates according to the wiki article. During the step "Updating System Certificates" the command fails with following error message:
pki-server subsystem-cert-update -i {instance_name} ca sslserver --cert sslserver.crt certutil: could not find certificate named "Server-Cert cert-{instance_name}": SEC_ERROR_INVALID_ARGS: security library: invalid arguments. ERROR: Command: certutil -D -d /var/lib/pki/{instance_name}/alias -h {token_name} -f /tmp/tmpqx6njp_8/password.txt -n Server-Cert cert-{instance_name}
The certificates gets stored using the token name prepended therefore the certutil command is not able to delete it:
certutil -L -d /var/lib/pki/{instance_name}/alias -h {token_name} Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI Enter Password or Pin for "{token_name}": {token_name}:auditSigningCert cert-{instance_name} CA u,u,Pu {token_name}:caSigningCert cert-{instance_name} CA CTu,Cu,Cu {token_name}:ocspSigningCert cert-{instance_name} CA u,u,u {token_name}:Server-Cert cert-{instance_name} u,u,u {token_name}:subsystemCert cert-{instance_name} u,u,u
Deleting the certificate in question manually and reexecure the subsystem-cert-update command seems to work.
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/3231
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)