2017-02-26 1 views
0

Ich versuche, das SSL-Zertifikat mit Letsencrypt einrichten, aber wenn ich laufe:Setup-SSL mit Lets Encrypt auf RHEL

./letsencrypt-auto --apache -d industriemedia.tv 

Es ist wie mein Domain Name aussieht, kann nicht gefunden werden:

[[email protected] letsencrypt]# ./letsencrypt-auto --apache -d industriemedia.tv 
Saving debug log to /var/log/letsencrypt/letsencrypt.log 
Obtaining a new certificate 
Performing the following challenges: 
tls-sni-01 challenge for industriemedia.tv 

We were unable to find a vhost with a ServerName or Address of industriemedia.tv. 
Which virtual host would you like to choose? 
(note: conf files with multiple vhosts are not yet supported) 
------------------------------------------------------------------------------- 
1: ssl.conf      |      | HTTPS | Enabled 
------------------------------------------------------------------------------- 

aber ich habe einen Virtualhost in /etc/httpd/conf/httpd.conf hinzugefügt

<VirtualHost *:80> 
    ServerName www.industriemedia.tv 
    ServerAlias industriemedia.tv *.industriemedia.tv 
    DocumentRoot /var/www/html/ 
</VirtualHost> 
+1

hast du versucht './letsencrypt-auto --apache -d www.industrie.tv'? –

Antwort

0

ich hatte den Port 443 zu öffnen, die nicht geöffnet.

Auch tun ./letsencrypt-auto mein ssl-Zertifikat zurückgesetzt und meine Domäne wurde erkannt.