mirror of
https://github.com/wmnnd/nginx-certbot
synced 2023-04-20 18:47:46 +08:00
Change dummy cert rsa size from 1024 to 2048
The recent version of nginx seems to require a certificate with at least 2048 bit rsa key.
This commit is contained in:
parent
cb13104649
commit
dafa16d433
@ -31,7 +31,7 @@ echo "### Creating dummy certificate for $domains ..."
|
||||
path="/etc/letsencrypt/live/$domains"
|
||||
mkdir -p "$data_path/conf/live/$domains"
|
||||
docker-compose run --rm --entrypoint "\
|
||||
openssl req -x509 -nodes -newkey rsa:1024 -days 1\
|
||||
openssl req -x509 -nodes -newkey rsa:2048 -days 1\
|
||||
-keyout '$path/privkey.pem' \
|
||||
-out '$path/fullchain.pem' \
|
||||
-subj '/CN=localhost'" certbot
|
||||
|
Loading…
x
Reference in New Issue
Block a user