I was using apache and AMI ec2 server(
Amazon Linux AMI release 2016.03).
For this i have installed sucessfully certificate for my x.x.x.x.com and x.x.x.x.io .
But am not able to install the subdomains like developer.xxxx.com and business.xxxx.cometc.So for that I have removed the certificate and again i tried to install i got below error.
I completely don’t know what can i do
Please help me to short out this
Also I have checked firewall configuration this port has opened in server also i have been opened by iptables also.
It says dns record not pointing the DNS A record it has been configured.
Failed authorization procedure. www.x.x.x.x.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to x.x.x.x:443 for TLS-SNI-01 challenge, www.x.x.x.x.io (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to x.x.x.x:443 for TLS-SNI-01 challenge, business.x.x.x.x.io (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to x.x.x.x:443 for TLS-SNI-01 challenge, x.x.x.x.io (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to x.x.x.x:443 for TLS-SNI-01 challenge, x.x.x.x.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to x.x.x.x:443 for TLS-SNI-01 challenge
IMPORTANT NOTES:
The following errors were reported by the server:
Domain: www.x.x.x.x.com
Type: connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge
Domain: www.x.x.x.x.io
Type: connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge
Domain: business.x.x.x.x.io
Type: connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge
Domain: x.x.x.x.io
Type: connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge
Domain: x.x.x.x.com
Type: connection
Detail: Failed to connect to x.x.x.x:443 for TLS-SNI-01
challenge
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.x.x.x.x
Also, noticing the number of certificates you have been obtaining yesterday / today - for testing you would be better using the staging server, as you are very likely to hit the rate limits
I have been Ran command is /path/ letencrypt- auto --debug ,
after enter this command it’s listing the domain names whatever I configured in Apache then selected with required domains.finally I got that error
It looks as if you currently have a configuration error in your apache - on port 443 you are providing http not https - hence the error.
You should check the apache error logs, or apachectl -t to test the config
I haven’t placed the domain in public view - please note though that all certificates issues are listed publicly, so that is available anyway. You can edit your post above if you like (although that will make it harder for others to test / help )
This would not be a syntax error that can be caught with apachectl -t. Your configuration files are telling apache to serve HTTP on port 443 (the port reserved for HTTPS). Could you share those?
That would be the idea, yes, but if your apache configuration was set to serve HTTP on port 443 prior to you using certbot, it would have a hard time fixing that or even getting a certificate. It’s not really capable of automatically fixing any configuration issues in addition to configuring HTTPS.