How to add a secure cert to IIS on Windows

To add an SSL cert to IIS 5 on Windows, you need two separate steps:

  1. Create a p12 (pkcs12) cert file:
  2. cat server.key server.crt > server.pem
    openssl pkcs12 -export -in server.pem -out server.p12 -name "server"
  3. Import the p12 file into IIS:
  4. Start->Run->mmc
    Ctrl+M
    Add...
    Certificates
    Computer Account
    Finish
    Close
    OK
    Open "Certificates (Local Computer)" tree
    Right click Certificates
    All Tasks->Import...
    Browse to .p12 cert
    Next
    Next
    Next
    Finish
  5. Select cert for site
  6. Open IIS Admin
    Select properties of website
    Select Directory Security Tab
    Server Certificate...
    Next
    Assign existing cert
    Next
    Select Cert
    Next
    Next
    Finish
    Web Site tab
    SSL Port 443
    Apply
    OK

This entry was posted in Windows and tagged , . Bookmark the permalink.

NewPush has solutions to fit your business needs.  For more than a decade, our focus has been to take on the technical challenges that are the hardest and most time-consumming.  Our goal is to free up your resources to focus on the core activities of your business and to drive your business performance.  Please visit our main site at newpush.com for more information or call us at +1-303-423-4500.