I configured A and AAAA recordings. If I call https://api.meteointelligence.com , everything works fine (with my non valid local certificate). But if i call http://api.meteointelligence.com it points to my ip address and I guess this is the problem. So where do I have to configure that the port 80 should be used?
Or are there any issues with Strato? My Server is hosted by Hetzner but the Domain was bought on strato.
My domain is:
api.meteointelligence.com
I ran this command:
certbot --apache
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: api.meteointelligence.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for api.meteointelligence.com
Enabled Apache rewrite module
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. api.meteointelligence.com (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://api.meteointelligence.com/.well-known/acme-challenge/8Too29EnWOrLqlk-zZuFnv-7s80ILMbT00fPnkqXwiQ: Connection refused
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: api.meteointelligence.com
Type: connection
Detail: Fetching
http://api.meteointelligence.com/.well-known/acme-challenge/8Too29EnWOrLqlk-zZuFnv-7s80ILMbT00fPnkqXwiQ:
Connection refused
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.
My web server is (include version):
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-09-16T12:58:48
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
Server is hosted by Hetzner, Domain was bought by Strato.
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):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
certbot 0.31.0