LoginSignup
0
0

More than 1 year has passed since last update.

Amazon Linux によるSSL化について

Posted at

下記内容でssl化するために実践しました。

現状の問題としては、Apacheの再起動ができないため、

apachectl configtest

コマンドを行うと、下記のエラーが出ます。

SSLCertificateFile: file 
'/etc/letsencrypt/live/my-aws-infra.work/fullchain.pem' 
does not exist or is empty

SSL化を行うサイトへは、先頭https://でドメインを入力すると、このように証明書は有効にはなっていますが、
Apacheがうまく起動していないため、
503 Service Temporarily Unavailable

とページに表示されています。
スクリーンショット 2021-07-18 21.32.58.png

ちなみに、下記についてはどちらかを生かすときは片方はコメントアウトする必要ありますか?

SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/custum.key

申し訳ありませんが、解決策を教えていただけないでしょうか。
よろしくお願い致します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0