LetsEncrypt - “Can't connect to the client for DV”

I am using LetsEncrypt on Ubuntu 15.10.

I have opened ports 443 and 80 using UFW and хан access the domain (akuk.co.uk) Веб гm trying to secure in browsers from HTTP.

When running the ./letsencrypt-auto command and selecting the domains (akuk.co.uk and www.akuk.co.uk), I receive the following message:

Failed authorization procedure. www.akuk.co.uk (tls-sni-01): urn:acme:error:connection:: The server could not connect to the client for DV:: Failed to connect to host for DVSNI challenge

IMPORTANT ЗАМЕТЬ:

  • The following 'urn:acme:error:connection' errors were reported by the server:

    Domains: www.akuk.co.uk
    Ошибка: The server could not connect to the client for DV


Running ./letsencrypt-auto --verbose, I see:

Generating key (2048 бит):
/etc/letsencrypt/keys/0026_key-letsencrypt.pem
Creating CSR:/etc/letsencrypt/csr/0026_csr-letsencrypt.pem
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Performing the following challenges:
tls-sni-01 challenge for akuk.co.uk
tls-sni-01 challenge for www.akuk.co.uk
Enabled Апачи ssl модулировал
Waiting for verification...
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Starting new HTTP connection (1): acme-v01.api.letsencrypt.org
Reporting to user: The following 'urn:acme:error:connection' errors
were reported by the server:
Domains: www.akuk.co.uk
Ошибка: The server could not connect to the client for DV
Cleaning up challenges


My ports.conf file looks like this:

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
        Listen 443
</IfModule>

<IfModule mod_gnutls.c>
        Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

The sites-enabled file akuk-co-uk.conf looks like this:

<VirtualHost *:80>
        ServerAdmin webmaster@akuk.co.uk
        ServerName www.akuk.co.uk
        ServerAlias akuk.co.uk
        DocumentRoot /var/www/html/akuk_co_uk/public_html

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

# Server Settings for Port 443 (SSL)
<VirtualHost *:443>
        ServerAdmin webmaster@akuk.co.uk
        ServerName www.akuk.co.uk
        ServerAlias akuk.co.uk
        DocumentRoot /var/www/html/akuk_co_uk/public_html
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

With the ports 80 and 443 open, I can't understand the issue; how хан this be fixed?

5
задан 15 December 2015 в 08:29

1 ответ

Решение было к порту передачи *:443 на моем маршрутизатор к соответствующему IP в моей сети (192.168.0.23 в моем случае)

1
ответ дан 23 November 2019 в 10:41

Другие вопросы по тегам:

Похожие вопросы: