Skip to content

Commit 62a1c61

Browse files
authored
Merge pull request #77 from alexanderdushkin/patch-1
Fix fake cert key length
2 parents 29b1a9a + cf44b23 commit 62a1c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init-letsencrypt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo "### Creating dummy certificate for $domains ..."
3131
path="/etc/letsencrypt/live/$domains"
3232
mkdir -p "$data_path/conf/live/$domains"
3333
docker-compose run --rm --entrypoint "\
34-
openssl req -x509 -nodes -newkey rsa:2048 -days 1\
34+
openssl req -x509 -nodes -newkey rsa:$rsa_key_size -days 1\
3535
-keyout '$path/privkey.pem' \
3636
-out '$path/fullchain.pem' \
3737
-subj '/CN=localhost'" certbot

0 commit comments

Comments
 (0)