mirror of
https://gitlab.com/datalifeit/docker-tryton
synced 2023-12-14 05:43:04 +01:00
Fix rsa key size for dummy certificate
This commit is contained in:
parent
36db2fa6c0
commit
244fc1e70b
|
@ -31,7 +31,9 @@ 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:$rsa_key_size \
|
||||
-days 1 \
|
||||
-keyout '$path/privkey.pem' \
|
||||
-out '$path/fullchain.pem' \
|
||||
-subj '/CN=localhost'" certbot
|
||||
|
|
Loading…
Reference in a new issue