Howdy folks, hoping someone can help me get past this error. My overall goal is to setup Nextcloud in cloud.s3rvant.ch with Collabora in colab.s3rvant.ch and then normal web space at s3rvant.ch with www forwarding to the bare domain. I had nearly completed all this when I got stuck finishing up Collabora as CentOS 6 defaults to apache 2.2. I started over in order to work with Apache 2.4, but now am getting the below error when attempting to use certbot. Fairly certain the issue is related to the Apache path as its using:
/opt/rh/httpd24/root/etc/httpd/conf.d
Certbot didn’t see the conf files until I passed the additional subcommands as listed below, but even then it fails to complete authorization.
Any help getting the certificate created/installed would be much appreciated, even if that means starting from scratch (haven’t yet migrated anything to this server).
Please fill out the fields below so we can help you better.
My domain is:
s3rvant.ch
I ran this command:
./certbot-auto --apache --apache-server-root /opt/rh/httpd24/root/etc/httpd --apache-vhost-root /opt/rh/httpd24/root/etc/httpd/conf.d --apache-logs-root /opt/rh/httpd24/root/var/log/httpd --apache-challenge-location /opt/rh/httpd24/root/etc/httpd
It produced this output:
Performing the following challenges:
tls-sni-01 challenge for s3rvant.ch
tls-sni-01 challenge for cloud.s3rvant.ch
tls-sni-01 challenge for colab.s3rvant.ch
tls-sni-01 challenge for www.s3rvant.ch
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. s3rvant.ch (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 185.60.146.190:443 for tls-sni-01 challenge, colab.s3rvant.ch (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 185.60.146.190:443 for tls-sni-01 challenge, cloud.s3rvant.ch (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 185.60.146.190:443 for tls-sni-01 challenge, www.s3rvant.ch (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 185.60.146.190:443 for tls-sni-01 challenge
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: s3rvant.ch
Type: connection
Detail: Failed to connect to 185.60.146.190:443 for tls-sni-01
challengeDomain: colab.s3rvant.ch
Type: connection
Detail: Failed to connect to 185.60.146.190:443 for tls-sni-01
challengeDomain: cloud.s3rvant.ch
Type: connection
Detail: Failed to connect to 185.60.146.190:443 for tls-sni-01
challengeDomain: www.s3rvant.ch
Type: connection
Detail: Failed to connect to 185.60.146.190:443 for tls-sni-01
challengeTo 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 operating system is (include version):
CentOS 6.9
My web server is (include version):
Apache 2.4 specifically installed via: https://www.server-world.info/en/note?os=CentOS_6&p=httpd24
My hosting provider, if applicable, is:
VPS
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