SSL 인증서를 포트 8080에 추가하려고 했지만 https를 통해 입력하면 다음 오류가 표시됩니다: ERR_SSL_PROTOCOL_ERROR
이것은 내 subdomain_maindomain.onlin.conf입니다.
<VirtualHost *:80>
ServerName panel.example.online
ServerAlias www.exmaple.online
</VirtualHost>
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName panel.example.online
ServerAlias www.panel.example.online
DocumentRoot /var/www/pufferpanel
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/example.online/example.online.crt
SSLCertificateKeyFile /etc/ssl/example.online/example.key
SSLCertificateChainFile /etc/ssl/example.online/example.online.ca-bundle
</VirtualHost>
답변1
줄을 바꿔라
<VirtualHost *:443>
...쪽으로
<VirtualHost *:443 *:8080>