I’m trying to generate a certificate for a RPi server I’m running at home, and am running into problems.
====
Please fill out the fields below so we can help you better.
My domain is: home.rogersmj.net OR rogersmj.duckdns.org. I’ve tried with both.
I ran this command: sudo ./certbot-auto certonly
Tried both ways with both domains above:
- I selected option 2 (standalone), provided domain name
- I selected option 3 (webroot), provided domain name, provided the correct webroot (/var/www/html)
In both modes, it produced the same error:
Domain: home.rogersmj.net (or rogersmj.duckdns.org)
Type: connection
Detail: Fetching http://home.rogersmj.net/.well-known/acme-challenge/lTEMjtY5vaKUEAf-l8I4t_tlDJtr20YTowTECyvjHy8: Error getting validation data
To fix these errors, please make sure that your domain name was entered correctly and the DNS A 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.
My web server is (include version): Standalone, or Apache 2.4.10
The operating system my web server runs on is (include version): Raspbian Jessie (8.0)
My hosting provider, if applicable, is: N/A…running at my home on RPi 3
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):
In both standalone and webroot modes, certbot fails to connect to my machine. I have taken the following steps:
- Ports 80 and 443 are forwarded through my router to the server
- When running Apache, I can access Apache-served pages from outside my network (on port 80).
- Also when running Apache, I can successfully access a test.html file I placed in /.well-known/test.html. Again, from outside my network. So I know the DNS and port forwarding are all working correctly.
- When trying to use certbot’s standalone option, I shut Apache down of course.
I cannot figure out why cerbot can’t connect to this server, when I can successfully connect to it from the outside world and I’ve verified that I can serve files out of the webroot.
What else should I do?