Open 5h44n opened 2 years ago
This repo was a huge help, thanks 🚀 💯
For anyone's reference , I ran into an issue similar to this where the rsa key size argument is too small when generating the dummy certificates to boot up nginx
nginx
error:
SSL routines:SSL_CTX_use_certificate:ee key too small
in this command
docker-compose run --rm --entrypoint "\ openssl req -x509 -nodes -newkey rsa:1024 -days 1\ -keyout '$path/privkey.pem' \ -out '$path/fullchain.pem' \ -subj '/CN=localhost'" certbot
I had to change rsa:1024 to rsa:4096 to get it to work.
rsa:1024
rsa:4096
Could potentially use the same rsa_key_size variable in the script as well
rsa_key_size
thanks @5h44n!
This repo was a huge help, thanks 🚀 💯
For anyone's reference , I ran into an issue similar to this where the rsa key size argument is too small when generating the dummy certificates to boot up
nginx
error:
in this command
I had to change
rsa:1024
torsa:4096
to get it to work.Could potentially use the same
rsa_key_size
variable in the script as well