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. https://crt.sh/?q=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: ** jeffwebsite.dev
I ran this command: sudo certbot certonly --webroot -w /usr/local/lsws/Example/html/ -d jeffwebsite.dev -d www.jeffwebsite.dev
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for jeffwebsite.dev
http-01 challenge for www.jeffwebsite.dev
Using the webroot path /usr/local/lsws/Example/html for all unmatched domains.
Waiting for verification…
Challenge failed for domain www.jeffwebsite.dev
Challenge failed for domain jeffwebsite.dev
http-01 challenge for www.jeffwebsite.dev
http-01 challenge for jeffwebsite.dev
Cleaning up challenges
Some challenges have failed.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): OpenLightSpeed 1.6.15 Django
The operating system my web server runs on is (include version): Ubuntu 18.04
My hosting provider, if applicable, is: Digital Ocean VPS
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): OpenLightSpeed WebAdmin Console
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 1.7.0
I’m just started learning how to use pythong with django. I assume that everytime I do a modification to the static folder I have to update the webserver by typing python3 manage.py collectstatic
Its a main issue where if I dont do that the webserver will not be able to access the css/media files that are in static folder, which I use to store all my css, img etc. (based on the tutorial I see in OpenLightSpeed)
Thanks. If you used that DigitalOcean droplet from the marketplace, then I’m not sure what’s wrong. Your original command should have worked just fine.
Did you change anything in the Litespeed context settings?
Whenever I try opening my website using the domain, the browser blocks me due to website not having SSL Certificate (or invalid) is it possible because of that?
I chose a domain that is secure from google domains idk if that affects the process of creating a certificate.
root@mywebsite:/usr/local/lsws/Example/html/demo# certbot certonly --webroot -w /usr/local/lsws/Example/html/demo/public -d jeffwebsite.dev -d www.jeffwebsite.dev
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for jeffwebsite.dev
http-01 challenge for www.jeffwebsite.dev
Using the webroot path /usr/local/lsws/Example/html/demo/public for all unmatched domains.
Waiting for verification…
Challenge failed for domain jeffwebsite.dev
Challenge failed for domain www.jeffwebsite.dev
http-01 challenge for jeffwebsite.dev
http-01 challenge for www.jeffwebsite.dev
Cleaning up challenges
Some challenges have failed.
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
If you could post the contents of /usr/local/lsws/conf/vhosts/Example/vhconf.conf as well, that would be useful to compare the Litespeed config with what it’s meant to be.