Ich habe ein Wildcard SSL-Zertifikat für * .domain.com. Ich benutze:ssl Wildcard Subdomain www.sub.domain.com
- startssl Anbieter für ssl certificat
- Apache Virtual
ich jede Anfrage weitergeleitet werden soll HTTPS NO-WWW
ich es geschafft, dies zu tun:
- http: //sub.dom ain.com =>https: //domain.com ist ok
- http: // www .sub.domain.com =>https: //sub.domain.com ok ist
ABER
https: //www.sub.domain.com =>https: //domain.com NICHT OK ist (NET :: ERR_CERT_COMMON_NAME_INVALID)
Können Sie mir helfen?
<VirtualHost *:80>
ServerName sub.domain.com
Redirect permanent/https://sub.domain.com
</VirtualHost>
<VirtualHost *:80>
ServerName www.sub.domain.com
Redirect permanent/https://sub.domain.com
</VirtualHost>
Listen 443
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName sub.domain.com
ServerAlias www.sub.domain.com
DocumentRoot /home/sub.domain.com
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/sub.domain.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ALL:!DH:!EXPORT:!RC4:+HIGH:+MEDIUM:!LOW:!aNULL:!eNULL
SSLCertificateFile /etc/ssl/2__.sub.domain.com.crt
SSLCertificateKeyFile /root/sub.domain.com.key
SSLCertificateChainFile /etc/ssl/1_root_bundle.crt
</VirtualHost>
Wow, es wird sehr teuer ... Danke! So ist es möglich, mehr als ein Platzhalterzertifikat auf dem gleichen Server zu haben? –