Certbot certonly --nginx error

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:www.qifin.com.cn

I ran this command: certbot certonly --nginx

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
NGINX derivative WS
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix= is not officially supported by certbot
An unexpected error occurred:
ValueError: invalid literal for int() with base 10: ''

My web server is (include version):
nginx -V
nginx version: WS
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
The operating system my web server runs on is (include version):
centos7.6
My hosting provider, if applicable, is:ali

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,is shell.
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 1.17.0

1 Like

Help me :sob:,!!!! i need help

1 Like

Certbot's nginx plugin does not officially support nginx forks. You may have to use certonly --webroot instead.

I think this technically counts as a bug as the version detection should not cause all of Certbot to crash, so I will file an issue to fix that. Thanks for the report.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.