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:profreshlink.com
I ran this command: sudo /snap/bin/certbot certonly --webroot --agree-tos --redirect --hsts --staple-ocsp -v -d profreshlink.com
It produced this output:/
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Requesting a certificate for profreshlink.com
Performing the following challenges:
http-01 challenge for profreshlink.com
Input the webroot for profreshlink.com: (Enter 'c' to cancel): /var/www/nginx
Waiting for verification...
Challenge failed for domain profreshlink.com
http-01 challenge for profreshlink.com
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: profreshlink.com
Type: unauthorized
Detail: 2a02:4780:b:967:0:3977:9be2:7: Invalid response from http://profreshlink.com/.well-known/acme-challenge/qan5SSvf_15ZaltuxmKNMI9FyGhjSXGDGoCWWjRz-Lw: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Cleaning up challenges
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): fastapi 0.1.0
The operating system my web server runs on is (include version): Ubuntu 22.04
My hosting provider, if applicable, is:
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): 2.8.0
Hello,
I think my problem is that certbot cannot find the specific webroot through http as fastapi is running and it does not point to a webroot. How do I restart the fastapi with a specific webroot path where this cert file can be looked at by going to mydomainname.com is for sale | www.brandforce.com ?