I have a commercial certificate along with private key for my esxi server. I want to install this certificate on the esxi host. How to do it?
I have tried the following but no success.
My esxi host name is esxi.friendspc.ca and certificate has the exact same name.
1) Copied esxi.crt and esxi.key file to /etc/vmware/ssl and renamed the existing .cer and .key files.
2) Restart the services. However I was not able to login from VI client so obviously the certifcate was not installed properly.
Key points:
1) I am copying the certificate from windows system to esxi host using DATA STORE browser.
2) When i have a peak at the certifcate on esxi host using vi edito, I found some weird extra characters added to the end of each line. I guess this is the work of windows NotePad editor. However, I do have removed those extra characters using vi editor. Is it ok?
What am I doing wrong?