docker-compose-files/nginx/nginx_https/ssl/gen_certs.sh

10 lines
169 B
Bash

openssl req \
-x509 \
-nodes \
-days 3650 \
-newkey rsa:2048 \
-keyout /root/server.key \
-out /root/server.crt
# Enter "*.com" (without quotes) as "Common Name"