CA-signed SSL certificate install with custom certificate name fails with duplicate entry
Applies to
- ONTAP prior to 9.7
- CA-signed SSL certificate
Issue
The certificate install
command fails:
Cluster01::> certificate install -type server -vserver svm1 -cert-name custom_cert_name
Please enter Certificate: Press <Enter> when done
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
Please enter Private Key: Press <Enter> when done
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
Please enter certificates of Certification Authorities (CA) which form the certificate chain of the server certificate. This starts with the issuing CA certificate of the server
certificate and can range up to the root CA certificate.
Do you want to continue entering root and/or intermediate certificates {y|n}: y
Please enter Intermediate Certificate: Press <Enter> when done
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
Do you want to continue entering root and/or intermediate certificates {y|n}: y
Please enter Intermediate Certificate: Press <Enter> when done
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
Do you want to continue entering root and/or intermediate certificates {y|n}: n
Error: command failed: duplicate entry
A certificate show
command on the SVM returns no entries:
Cluster01::> certificate show -vserver svm1
There are no entries matching your query.