Skip to main content
NetApp Knowledge Base

CA-signed SSL certificate install with custom certificate name fails with duplicate entry

Views:
2,917
Visibility:
Public
Votes:
4
Category:
ontap-9
Specialty:
core
Last Updated:

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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.