cancel
Showing results for 
Search instead for 
Did you mean: 

private key and certificate are not matched

Teacup
New Contributor

Hi,

I have a problem when importing a wildcard certificate in SZ as a Server Certificate to use for Web Management. I'm on 5.2.2.0.317 and it says that "private key and certificate are not matched". I have verified with openssl the cert and private key are matched. I also use them in other systems just fine. Here is the command I use to generate the private key, and the wildcard cert is in Base-64 encoded X.509 (PEM format)

 

openssl genrsa -aes256 -out private.key 2048

 

 

 

 

 

 

5 REPLIES 5

Vineet_nejwala
Moderator
Moderator

Hi @Teacup 

Can you once check the below steps and validate you are performing it correctly :

https://community.ruckuswireless.com/t5/SmartZone-and-Virtual-SmartZone/How-to-upload-certificate-on...

Best Regards

Vineet

I didn't really follow the steps in that article but the idea is similar. My wildcard cert is issued by Comodo, and the cert already come with base-64 encoded X.509 format, and I have my private key

@Teacup 

There is an issue noted on 5.2.2.0.317 with vSZ when trying to import a Wildcard certificate, the validation does pass for private key but user get the error Private key doesn't match server certificate when saving the cert. Can you confirm is it the same behavior for you ? Example below :

Cert Validation passed :

Vineet_nejwala_0-1653796887721.png

But error message pop-out after Saving certificate 

Vineet_nejwala_1-1653796944677.png

Best Regards

Vineet

Validation does not pass for me as well as trying to save the cert. I have verified the cert and private key with openssl. I have other system using this wildcard cert without any issues. This seems a bit weird. Thank you for your help.