自宅サーバーのhttpでの立ち上げには成功したのですが、https://laraweb.net/environment/3722/
このサイトを参考にしても
<VirtualHost *:443>
DocumentRoot "C:/Users/XXX/Desktop/xampp/htdocs"
ServerName XXX.com
SSLEngine on
SSLCertificateFile "conf/ssl.crt/dev-ssl.crt"
SSLCertificateKeyFile "conf/ssl.key/dev-ssl.key"
</VirtualHost>
上記のコードをhttpd-ssl.confに書き込んだ段階で、下記のようなエラーが出てしまい、Apacheの再起動が行えません。
他のサイトではこの段階でhttps://qiita.com/sutara79/items/21a068494bc3a08a4803
などを見ると、動作確認はできるとの記載があったのですが、何が違っているのでしょうか?
詳しい方ご教授お願い致します。
Error: Apache shutdown unexpectedly.
8:45:12 [Apache] This may be due to a blocked port, missing dependencies,
8:45:12 [Apache] improper privileges, a crash, or a shutdown by another method.
8:45:12 [Apache] Press the Logs button to view error logs and check
8:45:12 [Apache] the Windows Event Viewer for more clues
8:45:12 [Apache] If you need more help, copy and post this
8:45:12 [Apache] entire log window on the forums
回答1件