0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CloudflareのせいでSSLが取れない時の対処法

Posted at

はじめに

こんにちは!高校生でプログラミング勉強中のCureSabaです。

今回value-domainのcoreserverにてcloudflareが邪魔をして証明書が取れないと言うことがあったのでメモとして残しておきます

対処法

結論から言いますとSSL/TLS encryptionFlexibleにすることで直りました
IMG_0262.jpeg

原因の考察

初期でencryption modeAutomatic modeであったことが問題だと思います。

私の環境では、一度証明書を取得した後、自動的にモードが Full (strict) に切り替わりました。
その後、ドメインのAレコードを書き換えたため、証明書の更新ができないダウンタイムが発生し、その間にcoreserverに保存されていた有効期限が切れました。そして、Aレコードを coreserver に戻したところ、strict モードが原因でcertbotの接続が拒否され、認証ができなかったと考えています。

終わりに

もし、この記事が役に立ったと思ったら、ぜひコメントやシェアをお願いします。また、質問や改善点などがあれば気軽にコメントしてください!

それでは、良いプログラミングライフを!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?