Renewing SSL Certificates
If your node-red-contrib-opcua-server has been running for a while and the SSL certificate has expired, here's a clear and practical guide to replacing it with a new one.
π Why Renew Certificates?
π Replacing the Server Certificate
~\.node-red\node_modules\node-red-contrib-opcua-server\certificateschmod 600 private.pem
chown node-red:node-red private.pemπ€ Replacing the Client Certificate
π Client Certificate Location (Windows)
π§ Client Certificate Location (Linux)
π§Ύ Required Certificate Extensions
π· Common Name (CN) and Subject Alternative Name (SAN)
π Subject Alternative Name (SAN)
βοΈ Generating New Certificates with OpenSSL
β Troubleshooting Tips
π Summary Table
Use Case
File Path (Windows)
Files to Replace
π€ Automating Certificate Renewal (Optional)
π Community Contribution
Last updated