Multiple Apache virtual hosts causing 'Failed authorization procedure'?

I’m trying to use LetsEncrypt for the first time but I’m having problems with the verification. I suspect its because I host multiple websites on the same IP, some with SSL (non letsencrypt)

When I try to generate the certificate the verification fails saying it cannot connect to, which is strange as I can connect locally without any problem.

Could this be because I already host other virtual hosts on the same machine, some with SSL?

My domain is:

I ran this command:
./certbot-auto --apache -d

It produced this output:
Failed authorization procedure. (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to for TLS-SNI-01 challenge


  • The following errors were reported by the server:

    Type: connection
    Detail: Failed to connect to for TLS-SNI-01

My operating system is (include version):
Ubuntu 14.04

My web server is (include version):
Apache/2.4.7 (Ubuntu)

My hosting provider, if applicable, is:
Digital Ocean

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.