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.
I am trying to create an SSL certificate so I can access my uvicorn fastAPI webserver through HTTPS. The webserver is accessed through a subdomain.
I followed the tutorial here: Certbot Instructions | Certbot
When I ran the "sudo ln -s /snap/bin/certbot /usr/bin/certbot" command, I got the following response:
"ln: failed to create symbolic link '/usr/bin/certbot': File exists" But I wasn't sure if it was a cause for concern.
Everything else seemed to run smoothly, but when I try to access https://ai.qatalyst.ca I get " This site can’t be reached ERR_CONNECTION_REFUSED"
My domain is:
I ran this command:
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot certonly --standalone
sudo certbot renew --dry-run
uvicorn main:app --host 0.0.0.0 --port 80
It produced this output:
I am able to access my API from ai.qatalyst.ca, and www.ai.qatalyst.ca but not from https://ai.qatalyst.ca or https://www.ai.qatalyst.ca
My web server is (include version):
uvicorn 0.18.3 with fastAPI 0.85
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
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):