我是ssl證書和安裝在apache上的新手。 我有以下的虛擬主機設置Apache - 安裝SSL證書
<VirtualHost *:443>
ServerName www.beta.mysite.com
SSLEngine on
SSLCertificateFile /home/ec2-user/sslCerts/beta_mysite_com.crt
SSLCertificateKeyFile /home/ec2-user/sslCerts/mySite.key
ProxyPass/http://localhost:3000/
ProxyPassReverse/http://localhost:3000/
</VirtualHost>
所有路徑的證書是有效 當我運行Apache啓動命令我碰到下面的錯誤
Starting httpd: [Sun Oct 23 12:34:37 2016] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
而且 - 我ssl_error.log文件顯示以下錯誤
[Sun Oct 23 12:34:37 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 12:34:37 2016] [warn] RSA server certificate CommonName (CN) `ip-172-55-16-165' does NOT match server name!?
[Sun Oct 23 12:34:37 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Oct 23 12:34:37 2016] [warn] RSA server certificate CommonName (CN) `ip-172-55-16-165' does NOT match server name!?
任何想法我需要做什麼才能正確獲得ssl安裝?
基本上,你有2 VHOST配置端口443 – hjpotter92