• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2076
  • Last Modified:

Importing an SSL from IIS to Linux nginx

I have purchased a wildcard SSL and completed the SSL onto my IIS server.  I then exported the pfx file and sent it to my linux servre which is going to be hosting subdomains of the main domain.

I am confused as to how to convert the .pfx file into a usable key that I am import into nginx and use for multiple subdomains.
1 Solution
Take a look at

Basically you need to extract the private key and the certificate. Then you can configure a nginx vhost some thing like this
                server {
                listen 443;
                ssl on;
                ssl_certificate /etc/nginx/mycert.pem
                ssl_certificate_key /etc/nginx/mykey.pem


Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now