Skip to content

Instantly share code, notes, and snippets.

@victor-abz
Created July 28, 2023 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victor-abz/5bd2c04de53f4a802003ce2f2432bcda to your computer and use it in GitHub Desktop.
Save victor-abz/5bd2c04de53f4a802003ce2f2432bcda to your computer and use it in GitHub Desktop.
Create windows SSL
  1. Convert .crt .pem and .key to PFS for Win Server Import using openssl
openssl pkcs12 -export -out output_sile_path.pfx -inkey ssl_key_path.key -in crt_file_path.crt -certfile pem_ssl_file_path.pem
  1. Import in Windows
c:> certutil -importPFX pfx_ssl_path.pfx
  1. Edit Bindings in IIS Click Sites > Right click Site Name(e.g:Default Wesite) > Edit Bindings > https > Edit > then select SSL > Ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment