简体   繁体   中英

Run SSL Certificate in IIS and Node JS

I have a windows server 2012 with a SSL Certificate running in IIS. I have a Node JS app deployed on that server too, i'm using pm2 to manage this project, but, I need to use this project with https too.

How I can do this?

Previously I tried to re-key the certificate with Open SSL following the steps of this link: Setting up real SSL with Node JS

Everything is ok, but when I re-key the certificate with the.csr generated by openSSL, my certificate on IIS stop working.

How can I achieve this?

I'm using GoDaddy for the SSL certificate.

Thanks in advance.

So you're essentially trying to use the same certificate on two different web servers? Presumably they serve to different domains? (egamydomain.com, b.mydomain,.com).

If their base domain is the same you can look into getting a certificate issued that has a wildcarded domain (*.mydomain.com). If your registrar doesn't support this, or if your domains are totally different and not related, then you need two different certificates.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM