1. Create a key and cert using openssl command
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
2.Configure the cert in your node js file
1. Create a key and cert using openssl command
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
2.Configure the cert in your node js file
本文标题:Creating an HTTPS Server with No
本文链接:https://www.haomeiwen.com/subject/cyeayftx.html
网友评论