Cannot Delete Any Root Certificates with Duplicate Common Name if one is used for Signing
Symptom
The "Delete" option is grayed out when attempting to delete a root certificate.
However, the "Delete" option is enabled when attempting to delete another root certificate.
In the example below, the "Delete" option is grayed out when attempting to delete the "Root Certificate02".
However, the "Delete" option is enabled when attempting to delete the "Root Certificate03".
Both certificates are not used for signing client/server certificates.
Environment
• Palo Alto Firewalls
• Supported PAN-OS
• A self-signed or enterprise certificate exists on the device
Cause
Root certificates that meet the following conditions cannot be deleted via GUI
1. There are multiple root certificates with the same Common Name (CN).
2. There are the client/server certificates signed by the root certificate with same CN.
When a client/server certificate is signed by one of the root certificates with same CN, its issuer-hash matches the subject-hash of all root certificates with same CN.
As a result, all root certificates with the same subject-hash can no longer be deleted via GUI.
The certificate hash value can be checked from the CLI.
|
admin@PA-VM> request certificate show
|
Resolution
Delete the certificate via CLI
| CLI> configure CLI# delete shared certificate <Certificate Name> |