#How to install a Certificate Authority (CA) signed certificate using ONTAP CLI

1 messages · Page 1 of 1 (latest)

karmic lichen
#

I have Generated a Certificate Signing Request (CSR) and sent to our security team .They validated Certificate Authority (CA)
They provided me zip file like .p7b and .cer file

But i am unable to install. Providing the " Certificate Signing Request and private key " in CLI.
Please can any one guide me
NetApp device : FAS2620
Version : 9.8P19

I have followed below steps.

https://kb.netapp.com/onprem/ontap/dm/System_Manager/How_to_install_a_Certificate_Authority_CA_signed_certificate_using_ONTAP_CLI

#

@strong depot please could you suggest me.

next minnow
#

Are you getting an error message when you follow the documented steps?

#

Or are the steps completing succesfully but you're not seeing the certifiacte correctly installed?

strong depot
karmic lichen
#

Step 1 : Disable the SSL
Step2: security certificate install -vserver vservername -type server

1st pasted certificate signing Request.

2nd pasted private key
Then entered

Error: command failed:Failed to read the certificate due to incorrect formatting.

I have not touched to .p7b file and .cer file

hot timber
#

that's my procedure .....

1.) generate:
security certificate generate-csr -common-name <HOSTNAME> -size 2048 -dns-name <HOSTNAME>

2.) request a .cer file.

3.) install:
security certificate install -vserver <CLUSTER> -type server

3.1) paste certificate with BEGIN & END
3.2) paste private key with BEGIN & END

4.) show:
certificate show -type server -vserver <CLUSTER> -serial <NEW SERIAL>

5.) SSL:
security ssl modify -server-enabled true -serial <NEW SERIAL> -vserver <CLUSTER> -common-name <HOSTNAME> -ca <YOUR CA>

strong depot
#

Error: command failed:Failed to read the certificate due to incorrect formatting.
something in your certificate is incorrect. This is how it should look like

karmic lichen
#

I have generated csr with above command
Two Keys were like 1.certificate signing Request
2.private key

The CSR key was given to our security team and they gave me .cer zip file.

Now here my doubt is

  1. should I extract that zip file
    2.Here you pasted two keys ( which keys I should paste here)

This is the first time I am doing.

#

I also created
Security certificate create - vserver xxx -common-name xxx -size 2048 -type server -expire-days 365 -hash-function SHA256

#

Here the public key is generated