node-http-server
/generateCertificate.sh |
---|
@@ -1,15 +1,15 @@ |
#!/bin/sh |
openssl req \ |
openssl req \ |
-new \ |
-x509 \ |
-days 365 \ |
-config certs/https/templates/ca.cnf \ |
-days 365 \ |
-config certs/https/templates/ca.cnf \ |
-keyout certs/https/ca-key.pem \ |
-out certs/https/ca-cert.pem |
openssl genrsa \ |
openssl genrsa \ |
-out certs/https/server-key.pem 4096 |
openssl req \ |
openssl req \ |
-new \ |
-config certs/https/templates/server.cnf \ |
-key certs/https/server-key.pem \ |