My domain is:
http://pki.example.com:8080/acme/directory (domain exists for CI purposes only) see Provide user friendly error message when trying to parse invalid JSON · dogtagpki/pki@f8ea9ad · GitHub
I ran this command:
docker exec client certbot register
--server http://pki.example.com:8080/acme/directory
--email user1@example.com
--agree-tos
--non-interactive
It produced this output:
On success:
2021-10-20 11:05:10,979:DEBUG:certbot._internal.main:certbot version: 1.20.0
2021-10-20 11:05:10,979:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2021-10-20 11:05:10,980:DEBUG:certbot._internal.main:Arguments: ['--server', 'http://pki.example.com:8080/acme/directory', '--non-interactive']
2021-10-20 11:05:10,980:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-10-20 11:05:10,993:DEBUG:certbot._internal.log:Root logging level set at 30
2021-10-20 11:05:11,007:DEBUG:acme.client:Sending GET request to http://pki.example.com:8080/acme/directory.
2021-10-20 11:05:11,008:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): pki.example.com:8080
2021-10-20 11:05:11,024:DEBUG:urllib3.connectionpool:http://pki.example.com:8080 "GET /acme/directory HTTP/1.1" 200 398
2021-10-20 11:05:11,025:DEBUG:acme.client:Received response:
HTTP 200
Content-Type: application/json
Content-Length: 398
Date: Wed, 20 Oct 2021 11:05:11 GMT
Keep-Alive: timeout=20
Connection: keep-alive
On fail:
2021-10-20 10:36:41,877:DEBUG:certbot._internal.main:certbot version: 1.20.0
2021-10-20 10:36:41,877:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2021-10-20 10:36:41,877:DEBUG:certbot._internal.main:Arguments: ['--server', 'http://pki.example.com:8080/acme/directory', '--email', 'user1@example.com', '--agree-tos', '--non-interactive']
2021-10-20 10:36:41,878:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-10-20 10:36:41,893:DEBUG:certbot._internal.log:Root logging level set at 30
2021-10-20 10:36:41,964:DEBUG:acme.client:Sending GET request to http://pki.example.com:8080/acme/directory.
2021-10-20 10:36:41,967:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): pki.example.com:8080
2021-10-20 10:36:41,977:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
i.e. When the args are all passed, it fails, but if some args are missing, it succeeds!
My web server is (include version):
Apache Tomcat/9.0.45
The operating system my web server runs on is (include version):
docker container of Fedora 34
My hosting provider, if applicable, is:
GitHub
I can login to a root shell on my machine (yes or no, or I don't know):
don't know
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):
certbot version: 1.20.0