简体   繁体   中英

How to install SSL on node.js server

I bought SSL Cert from hostgator.in and they have installed it in my linux server. But how do I enable it using node.js code?

After reading Sangs link I would also recommend looking trough the official Nodejs docs for how to implement TSL/SSL.

https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_ssl_concepts

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