Https-conversie

dankzij https://www.sslforfree.com/ voor het gratis ( elke keer voor 3 maand geldige) beveiligingscertificaat en openssl voor het converteren hiervan zodat het in microsoft’s iis-server invoegbaar is, is nu ook een https verbinding met de site mogelijk

One Reply to “Https-conversie”

  1. First create the cert, I created it at https://www.sslforfree.com/. You need to verify you own the server, I chose manual. You do this by uploading some files to the server. Trick is if it’s windows you need to add a “.” with text/plain as the mime type so the server will serve it.
    Once you have the cert it gives you three files, two crt and a private key. These are no good in windows, windows doesn’t understand separate private keys so you need to combine them (as far as I can tell)
    To do this I used open SSL for windows (download)
    once installed open the exe C:\Program Files (x86)\GnuWin32\bin\openssl.exe
    Then run the following command:
    openssl pkcs12 -export -out C:\temp\sslforfree\cert.pfx -inkey C:\temp\sslforfree\private.key -in C:\temp\sslforfree\certificate.crt -certfile C:\temp\sslforfree\ca_bundle.crt
    It will ask you to enter a password, I had to type this I could not paste.
    Once you have done that you have a pfx you can use in windows.
    Then on the server in IIS just import the file (see screenshot)
    Then set the certificate in the bindings.

Leave a Reply