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.
The solution was found here:
Stackovervlow
Hope that helps for anybody dealing with a similar problem in a Python 3.10+ environment.