Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
certbot --apache
It produced this output:
ValueError: Invalid version. The only valid version for X509Req is 0
My web server is (include version):
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
hostinger
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
1.23
Details: with a little messing around I was able to resolve this issue and obtain a valid certificate by changing both calls to set_version() from set_version(2) to set_version(0) in acme/crypto_util.py
This is mostly to report a potential bug. I don't know python, and I'm not a particularly competent linux admin, so I apologize if this was an issue with my setup or due to some deprecation, rather than a bug. I figured it was more useful to report the issue/workaround than do nothing.