server folder to a convenient locationprivkey.pem & fullchain.pem filesclient/my-private-root-ca.crt to the certificate store on any device needing access to the server to get rid of untrusted root CA warnings.Regarding the port 443 issue on Draytek routers, I'm not sure but I think you have to change the https management port number to something else to be able to redirect port 443 on the WAN side, even if you don't enable management access from the Internet. See https://www.draytek.co.uk/support/guides/kb-forwarding-tcp443
Max
You'll need to add
var path = require("path")
below the fs require line.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a4d04984-20a5-438e-b0a6-b36db125d875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/03acf699-1348-4994-a593-6bab387a197c%40googlegroups.com.
To run the script, you need to be at a BASH command prompt and you need to supply either a domain specification or an IP address. That address will be baked into the certificate and the certificate will only be valid when used on that address:
./certs.sh 192.168.1.10