kobotoolbox / kobo-install

A command-line installer for setting up and running KoboToolbox on a remote server or local computer, using kobo-docker.
173 stars 162 forks source link

RSA key length in certbot-init template to small #247

Open dhaasner opened 3 weeks ago

dhaasner commented 3 weeks ago

Description I have encountered issues with updating kobo-install to the newest version on my own server. The certbot would fail on generating Let’s Encrypt certificates during the setup process.

Finally, I found out that the RSA key length for Python 3.10+ is 2048. So, the solution was to change rsa:1024 to rsa:2048 in /kobo-install/templates/nginx-certbot/init-letsencrypt.sh.tpl before running the setup process.

Does it make sense to increase to RSA 2048 per default for Let's Encrypt?

FranklinBarto commented 21 hours ago

You have saved me soo much time! Thank you soo much