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

10 lines
171 B
Bash

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