Jump to content
Froxlor Forum
  • 0

LetsEncrypt mehrere Domains


Soeri

Question

Hallo,

 

erstmal vielen Dank für die Integration von letsencrypt. Einrichtung war schnell und problemlos - auch das automatische einbinden des Zertifikats.

Meine Frage: ich habe auf dem Webserver nur eine IP für alle domains, wenn ich nun lets encrypt auf zusätzlichen domains aktiviere werde ich bei Aufruf der Domain immer auf die zuerst erstellte umgeleitet...

 

Domain A mit ssl aktiviert, Domain B mit SSl aktiviert: Aufruf Domain Domain B mit https > Es erscheint Domain A im Browser...

 

danke für die Hilfe

Soeri

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

wenn ich nun lets encrypt auf zusätzlichen domains aktiviere werde ich bei Aufruf der Domain immer auf die zuerst erstellte umgeleitet...

 

Dann machst du wohl was falsch, denn das funktioniert eigentlich problemlos. Nopaste bitte die beiden vhost-configs der Domain A und Domain B

Link to comment
Share on other sites

Mit "noPaste" stehe ich grad auf dem Schlauch ;-)

hier die beiden vHosts:

# Domain ID: 339 (SSL) - CustomerID: 171 - CustomerLogin: xxx
<VirtualHost XXX.XXX.XXX.:443>
  ServerName xxx.de
  ServerAlias www.xxx.de
  ServerAdmin info@xxx.net
  SSLEngine On
  SSLProtocol ALL -SSLv2 -SSLv3
  SSLHonorCipherOrder On
  SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
  SSLVerifyDepth 10
  SSLCertificateFile /etc/ssl/froxlor-custom-ssl/lxxx.de.crt
  SSLCertificateKeyFile /etc/ssl/froxlor-custom-ssl/xxx.de.key
  SSLCACertificateFile /etc/ssl/froxlor-custom-ssl/lxxx.de_CA.pem
  SSLCertificateChainFile /etc/ssl/froxlor-custom-ssl/xxx.de_chain.pem
  DocumentRoot "/var/kunden/webs/xxx/"
  FcgidIdleTimeout 30
  SuexecUserGroup "xxx" "xxx"
  <Directory "/var/kunden/webs/xxx/">
    <FilesMatch "\.(php)$">
      SetHandler fcgid-script
      FcgidWrapper /var/www/php-fcgi-scripts/xxx/xxx.de/php-fcgi-starter .php
      Options +ExecCGI
    </FilesMatch>
    Order allow,deny
    allow from all
  </Directory>
  Alias /awstats "/var/kunden/webs/xxx/awstats/xxx.de"
  Alias /awstats-icon "/usr/share/awstats/icon/"
  ErrorLog "/var/kunden/logs/xxx-error.log"
  CustomLog "/var/kunden/logs/lxxx-access.log" combined
</VirtualHost>
# 35_froxlor_ssl_vhost_yyy.net.conf
# Created 12.04.2016 08:20
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

# Domain ID: 200 (SSL) - CustomerID: 100 - CustomerLogin: yyy
<VirtualHost xxx.xxx.xxx.xxx:443>
  ServerName yyy.net
  ServerAlias www.yyy.net
  ServerAdmin info@yyy.net
  SSLEngine On
  SSLProtocol ALL -SSLv2 -SSLv3
  SSLHonorCipherOrder On
  SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
  SSLVerifyDepth 10
  SSLCertificateFile /etc/ssl/froxlor-custom-ssl/yyy.net.crt
  SSLCertificateKeyFile /etc/ssl/froxlor-custom-ssl/yyy.net.key
  SSLCACertificateFile /etc/ssl/froxlor-custom-ssl/yyy.net_CA.pem
  SSLCertificateChainFile /etc/ssl/froxlor-custom-ssl/yyy.net_chain.pem
  DocumentRoot "/var/kunden/webs/yyy/"
  FcgidIdleTimeout 30
  SuexecUserGroup "yyy" "yyy"
  <Directory "/var/kunden/webs/yyy/">
    <FilesMatch "\.(php)$">
      SetHandler fcgid-script
      FcgidWrapper /var/www/php-fcgi-scripts/yyy/yyy.net/php-fcgi-starter .php
      Options +ExecCGI
    </FilesMatch>
    Order allow,deny
    allow from all
  </Directory>
  Alias /awstats "/var/kunden/webs/yyy/awstats/yyy.net"
  Alias /awstats-icon "/usr/share/awstats/icon/"
  ErrorLog "/var/kunden/logs/yyy-error.log"
  CustomLog "/var/kunden/logs/yyy-access.log" combined

</VirtualHost>

danke fürs schauen

soeri

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...