How to move SSL certificate from cPanel / Apache to IIS (5,6,7,8+)?

OPTION 1:

You should control ROOT access to SSH on the server. WHM/Cpanel does not provide an ssl certificate export tool.

If you do not have ROOT access to hosting server, you can copy all key files from cPanel (private key and SSL certificate key) and add in the local Apache server.

  1. SSH login to the server using root / administrator level account
  2. Run the fowling command

(Note: Make sure to replace yourdomain with a real name)

# openssl pkcs12 -export -out /backup/yourdomain.pfx -inkey /etc/ssl/private/ yourdomain.key -in /etc/ssl/certs/ yourdomain.crt

This will export SSL pfx file with a password and you can easily import pfxssl  files in IIS.

OPTION 2:

You should ask the SSL certificate provider to let you generate new certificate key for IIS. This would be very easy and safe for non-technical.

At SSL2BUY, we provide free cost reissue facilities for all certificates. Our SSL certificate supports unlimited server licenses. You can create multiple copy of SSL certificates at free cost.

About the Author

Meet Solanki

Meet Solanki, an IT maestro with 8+ years of hands-on expertise in the realms of network and server administration. Armed with a Bachelor's degree in Computer Science, Meet takes pride in being more than a tech enthusiast - he ensures that the systems run seamlessly and maintain the highest standards of security. His technical acumen is a testament to his commitment to optimizing system performance and ensuring robust security protocols.

Trusted by Millions

SSL2BUY delivers highly trusted security products from globally reputed top 5 Certificate Authorities. The digital certificates available in our store are trusted by millions – eCommerce, Enterprise, Government, Inc. 500, and more.
PayPal
Verizon
2Checkout
Lenovo
Forbes
Walmart
Dribbble
cPanel
Toyota
Pearson
The Guardian
SpaceX