I know a few users have talked about installing this and that and adding command lines programmes and downloading...
Personally I am lazy and find all these methods cumbersome and slow, plus I don't want to download anything and find the correct cmd lines if I don't have to.
Best way for me on my personal IIS server is to use RapidSSLOnline. This is a tool that's on a server allows you to upload your certificate and private key and is able to generate a pfx file for you that you can directly import into IIS.
The link is here:
https://www.rapidsslonline.com/ssl-tools/ssl-converter.php
Below is the steps used for the scenario requested.
- Select Current Type = PEM
- Change for = PFX
- Upload your certificate
- Upload your private key
- If you have ROOT CA cert or intermediate certs upload them too
- Set a password of your choosing, used in IIS
- Click the reCaptcha to prove you're not a bot
- Click Convert
And that's it you should have a PFX downloaded and use this in your Import process on IIS.
Hope this helps other like minded, lazy tech people.