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: vpn.jackskomputers.xyz
I ran this command: certbot certonly --webroot
It produced this output:
> Input the webroot for jackskomputers.xyz: (Enter 'c' to cancel): /usr/share/pritunl/www/
Waiting for verification...
Challenge failed for domain jackskomputers.xyz
http-01 challenge for jackskomputers.xyz
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: jackskomputers.xyz
Type: dns
Detail: No valid IP addresses found for jackskomputers.xyz
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version): Pritunl
The operating system my web server runs on is (include version): Debian 10.6 Buster
My hosting provider, if applicable, is: Self
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): Yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.9.0
I tried about 10 minutes before posting this help request.
If it helps, I am using cloudflare to manage my domain.
I have just tried it again with the same error message.
Waiting for verification...
Challenge failed for domain jackskomputers.xyz
Challenge failed for domain vpn.jackskomputers.xyz
http-01 challenge for jackskomputers.xyz
http-01 challenge for vpn.jackskomputers.xyz
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: jackskomputers.xyz
Type: unauthorized
Detail: Invalid response from
http://jackskomputers.xyz/.well-known/acme-challenge/KvUAUx-c3TyOC3h9N3wAh2e4jYDIJHTRGwqd4INVYTo
[122.148.246.119]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Domain: vpn.jackskomputers.xyz
Type: unauthorized
Detail: Invalid response from
http://vpn.jackskomputers.xyz/.well-known/acme-challenge/AosNb7JrSbclFVYNA1nyOXEVt4XKdQaJl6tfN9rdsoQ
[122.148.246.119]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
2.0//EN\">\n<html><head>\n<title>404 Not
Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
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.
> 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 jackskomputers.xyz
> http-01 challenge for vps.jackskomputers.xyz
> Using the webroot path /var/www/html for all unmatched domains.
> Waiting for verification...
> Challenge failed for domain vps.jackskomputers.xyz
> http-01 challenge for vps.jackskomputers.xyz
> Cleaning up challenges
> Some challenges have failed.
>
> IMPORTANT NOTES:
> - The following errors were reported by the server:
>
> Domain: vps.jackskomputers.xyz
> Type: dns
> Detail: No valid IP addresses found for vps.jackskomputers.xyz
> - Your account credentials have been saved in your Certbot
> configuration directory at /etc/letsencrypt. You should make a
> secure backup of this folder now. This configuration directory will
> also contain certificates and private keys obtained by Certbot so
> making regular backups of this folder is ideal.
When trying the second command, I get the following:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for vps.jackskomputers.xyz
http-01 challenge for jackskomputers.xyz
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain vps.jackskomputers.xyz
http-01 challenge for vps.jackskomputers.xyz
Cleaning up challenges
Some challenges have failed.
**IMPORTANT NOTES:**
- The following errors were reported by the server:
Domain: vps.jackskomputers.xyz
Type: dns
Detail: No valid IP addresses found for vps.jackskomputers.xyz
The Pritunl HTML/Web Panel files are located in directory /usr/share.pritunl/www/
Here is my current config in Cloudflare for my domain.
Trying your first command again, I got the following:
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 vpn.jackskomputers.xyz
http-01 challenge for jackskomputers.xyz
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Cleaning up challenges
**IMPORTANT NOTES:**
**- The dry run was successful.**
What would I have to do next, to get my domain encrypted with lets encrypt?