Open HazemEngMuh opened 6 years ago
Hi,
Check out this code here: https://stackoverflow.com/questions/12871565/how-to-create-pem-files-for-https-web-server
For development purposes, you can disable the https module and use the http. That way you don't need key.pem and cert.pem
try this command
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
i executed it on ubuntu 16.
here is the link to original https://stackoverflow.com/a/12907165/3479012
@vivek1794 how to disable disable the https module and use the http ?
When I run signalling project on node js I have this error error enoent no such file or directory open 'key.pem' I try to use https://www.npmjs.com/package/pem but I did not solve the problem How to generate key??