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. crt.sh | 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: bitwarden.bp2215.info
I ran this command: certbot certonly --standalone
It produced this output: Requesting a certificate for bitwarden.bp2215.info
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: bitwarden.bp2215.info
Type: unauthorized
Detail: Invalid response from http://bitwarden.bp2215.info/.well-known/acme-challenge/SUTjCbmLYqpKO9OShoBICyG5HHXPZEliMC5EABltpe4 [69.245.126.81]: 503
Hint: The Certificate Authority couldn't exterally verify that the standalone plugin completed the required http-01 challenges. Ensure the plugin is configured correctly and that the changes it makes are accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Bitwarden standalone server installed as docker containers using the bitwarden install script.
The operating system my web server runs on is (include version): Ubuntu 20.04.2 LTS
My hosting provider, if applicable, is: N/A
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):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.16.0 cert
Port 80/443 are open and available for the standalone server to bind.
Firewall is completely disabled for testing/debugging
When I install Apache2 and initiate certbot using the apache plugin it works fine.
Test system: domain nextcloudtest.bp2215.info points to IP 69.245.126.81
New Ubuntu 20.04.2 LTS spun up at local ip address 192.168.1.245 with haproxy as a reverse passthrough
Firewall disabled. Port 80/443 unused, open, and available for standalone server to bind.
certbot certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
1: Apache Web Server plugin (apache)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 2
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): nextcloudtest.bp2215.info
Requesting a certificate for nextcloudtest.bp2215.info
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: nextcloudtest.bp2215.info
Type: unauthorized
Detail: Invalid response from http://nextcloudtest.bp2215.info/.well-known/acme-challenge/uhTAFjhd0VOeTvEfkiPRPFBtzkPUt23ZR0jU2MQxk1g [69.245.126.81]: 503
Hint: The Certificate Authority couldn't exterally verify that the standalone plugin completed the required http-01 challenges. Ensure the plugin is configured correctly and that the changes it makes are accessible from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
Installed apache2. http://nextcloudtest.bp2215.info accessible from outside local network.
again. Firewall disabled, ports 80/443 now bound to apache.
Now run certbot certonly on same domain using apache plugin:
root@nextcloudtest:/home/michael# certbot certonly
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
1: Apache Web Server plugin (apache)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 1
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): nextcloudtest.bp2215.info
Requesting a certificate for nextcloudtest.bp2215.info
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/nextcloudtest.bp2215.info/fullchain.pem
Key is saved at: /etc/letsencrypt/live/nextcloudtest.bp2215.info/privkey.pem
This certificate expires on 2021-08-31.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
If you like Certbot, please consider supporting our work by:
- Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
- Donating to EFF: https://eff.org/donate-le
And it works.
So why is the standalone server not able to finish the process???