Loading Posts...

vCenter 6.0 U2: SSL Regeneration ERROR – “Error in generating cert for store vpxd”

I was doing some SSL certificate updates in one of my VMware environments and I had to face couple of issues while I’m updating the SSL Certs. Issue appeared in Windows based vCenter 6.0 U2 server. We had some webclient login issues which I described in this article. In terms of finding a solution we were regenerating the SSL solution user certificates in the vCenter server. To find out how to regenerate and reset all the SSL certificate read the second part of the article.

SSL regeneration process was failing and Rolling back at the end of the process as you can see in the below screen capture.

So I re-run the process and window closed without throwing any error and I was confused with this status, I checked the certificate manager logs which is located in “C:\ProgramData\VMware\vCenterServer\logs\vmca\certificate-manager.log” in a Windows based vCenter server. You can find this error log in VCSA in “/var/log/vmware/vmcad/certificate-manager.log” location.

I was able to see the below error message in the log and I located the .cfg (SSL Configuration file location) in the log

So I browsed the configuration file location and I could see below .cfg files

I moved all the files to a new folder, I name it as “old-cfg”

Note : In VCSA you can find these files in “/var/tmp/vmware/, you can find the location similarly in the certificate-manager log.

Use these commands to move the .cfg files

#cd /var/tmp/vmware

#mkdir temp

#mv *.cfg temp

I re-run the certificate regeneration process described in the second part of this article, and this time it was succeeded

It was able to fix the error and re-generation process succeeded.

Click to rate this post!
[Total: 3 Average: 5]

Aruna Fernando

"Sharing knowledge doesn't put your job at risk - iron sharpen iron" I heard this and it's true.

Get Updates Directly To Your Inbox!


Leave a Comment

Loading Posts...