Sorry for the delay, it’s been a busy week and this domain was lower priority for me. Anyways I just ran:
root@hal:~/letsencrypt# ./certbot-auto.1 certonly --webroot --renew-by-default -w /var/www/htdocs --no-bootstrap --no-self-upgrade --domains gluesniffer.org
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
An unexpected error occurred:
OSError: [Errno 17] File exists: ‘/etc/letsencrypt/archive/www.gluesniffer.org/privkey8.pem’
Please see the logfiles in /var/log/letsencrypt for more details.
2019-09-07 10:54:31,880:DEBUG:acme.client:Error during a POST-as-GET request, your ACME CA may not support it:
urn:ietf:params:acme:error:malformed :: The request message was malformed :: Invalid Content-Type header on POST. Content-Type must be “application/jose+json”
2019-09-07 10:54:31,880:DEBUG:acme.client:Retrying request with GET.
2019-09-07 10:54:31,880:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/acme/cert/042a7737441761537b0b81f01f263063299b.
2019-09-07 10:54:31,881:DEBUG:urllib3.connectionpool:Resetting dropped connection: acme-v02.api.letsencrypt.org
2019-09-07 10:54:38,019:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 “GET /acme/cert/042a7737441761537b0b81f01f263063299b HTTP/1.1” 200 3904
2019-09-07 10:54:38,020:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/pem-certificate-chain
Content-Length: 3904
Link: https://acme-v02.api.letsencrypt.org/directory;rel=“index”
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sat, 07 Sep 2019 16:54:38 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sat, 07 Sep 2019 16:54:38 GMT
Connection: keep-alive
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
2019-09-07 10:54:38,022:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 1365, in main
return config.func(config, plugins)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 1250, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py”, line 116, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/renewal.py”, line 317, in renew_cert
lineage.save_successor(prior_version, new_cert, new_key.pem, new_chain, config)
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/storage.py”, line 1104, in save_successor
with util.safe_open(target[“privkey”], “wb”, chmod=BASE_PRIVKEY_MODE) as f:
File “/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/util.py”, line 229, in safe_open
os.open(path, os.O_CREAT | os.O_EXCL | os.O_RDWR, *open_args),
OSError: [Errno 17] File exists: ‘/etc/letsencrypt/archive/www.gluesniffer.org/privkey8.pem’
2019-09-07 10:54:38,026:ERROR:certbot.log:An unexpected error occurred:
This is a debian 7.11 machine and it’s using a version of certbot-auto I found here for older operating systems as the newer self-upgrading certbot wants to use a version of pip which doesn’t seem to work right on this box.