I've got a HTTP website in my intranet and I need him to be HTTPS.
I'm trying with CertBot.
First I use the command "certbot certonly --standalone"
then when I enter the domain name to certificate I receive the following error:
"Requesting a certificate for **********.ddns.net
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: **********.ddns.net
Type: dns
Detail: no valid A records found for **********.ddns.net; no valid AAAA records found for **********.ddns.net
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
Usually this error means that your site is hosted on a private IP address or on an IP address reserved for CGN use. In order to get a certificate with the method you used, it has to be possible for people outside of your ISP to connect to your site from the public Internet, which might not be the case with your current hosting setup.
If your ISP is using CGN, you might have to make a special request to the ISP to receive a public IP address (that other people can connect to).