Nome do servidor Incomaptible

1

Eu instalei um certificado Letsencrypt usando certbot para meu domínio carmensteffens.us Está tudo bem, exceto em navegadores (Chrome e Safari) para dispositivos da Apple (iOS e OSX).

Os navegadores nos dispositivos Apple dizem:

Invalid certificate (server name incompatible)

Eu acho que é um erro de host virtual no apache (2.4.7)

carmensteffens.us.conf (80)

<VirtualHost *:80>
        ServerName carmensteffens.us
        ServerAlias www.carmensteffens.us

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/web-v2/public_html

        ErrorLog /var/www/web-v2/logs/csusa_error.log
        CustomLog /var/www/web-v2/logs/csusa_access.log combined

        <Directory "/var/www/web-v2/public_html">
           Options All
           AllowOverride All
           Allow from all
        </Directory>

        Include /var/www/web-v2/public_html/public/assets/carmen/_default/directives.conf
        Include /var/www/web-v2/public_html/public/assets/carmen/us/directives.conf
        RewriteEngine on
        RewriteCond %{SERVER_NAME} =www.carmensteffens.us [OR]
        RewriteCond %{SERVER_NAME} =carmensteffens.us
        RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

carmensteffens.us.conf-le-ssl.conf (443)

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName carmensteffens.us
        ServerAlias www.carmensteffens.us

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/web-v2/public_html

        ErrorLog /var/www/web-v2/logs/csusa_error.log
        CustomLog /var/www/web-v2/logs/csusa_access.log combined

        <Directory "/var/www/web-v2/public_html">
           Options All
           AllowOverride All
           Allow from all
        </Directory>

        Include /var/www/web-v2/public_html/public/assets/carmen/_default/directives.conf
        Include /var/www/web-v2/public_html/public/assets/carmen/us/directives.conf
        SSLCertificateFile /etc/letsencrypt/live/carmensteffens.us/cert.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/carmensteffens.us/privkey.pem
        Include /etc/letsencrypt/options-ssl-apache.conf
        SSLCertificateChainFile /etc/letsencrypt/live/carmensteffens.us/chain.pem
</VirtualHost>
</IfModule>

Alguma idéia?

    
por ramiromd 17.01.2018 / 16:09

0 respostas