We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f1f3c commit d35f221Copy full SHA for d35f221
rootfs/etc/cont-init.d/55-nginx-proxy-manager.sh
@@ -58,13 +58,14 @@ fi
58
# Generate dummy self-signed certificate.
59
if [ ! -f /config/nginx/dummycert.pem ] || [ ! -f /config/nginx/dummykey.pem ]
60
then
61
+ echo "Generating dummy SSL certificate..."
62
env HOME=/tmp openssl req \
63
-new \
64
-newkey rsa:2048 \
65
-days 3650 \
66
-nodes \
67
-x509 \
- -subj '/O=Nginx Proxy Manager/OU=Dummy Certificate/CN=localhost' \
68
+ -subj '/O=localhost/OU=localhost/CN=localhost' \
69
-keyout /config/nginx/dummykey.pem \
70
-out /config/nginx/dummycert.pem \
71
> /dev/null 2>&1
0 commit comments