LoginSignup
1
0

More than 3 years have passed since last update.

Cloud Flare + redash + nginx でSSL

Posted at

詰まったところ

  • Cloud FlareのSSLを使いたかったが、証明書がうまく発行されなかったり、発行後もつながらなかったりした

結論

redashが出している設定が終わるまでは、
CloudFlareのSSLをFlexibleにしておく。上記の設定が完了したら、CloudFlareのSSLをFullにする

エラー

証明書が発行できない

Failed authorization procedure. redash.example.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://redash.example.com/.well-known/acme-challenge/B-WnlXtxwEtOrNW5fZXch5NlCCVdfCX9MMKokeuOscM [2606:4700:30::681b:ae50]: "<!DOCTYPE html>\n<!--[if lt IE 7]> <html class=\"no-js ie6 oldie\" lang=\"en-US\"> <![endif]-->\n<!--[if IE 7]>    <html class=\"no-js "

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: redash.example.com
   Type:   unauthorized
   Detail: Invalid response from
   https://redash.example.com/.well-known/acme-challenge/B-WnlXtxwEtOrNW5fZXch5NlCCVdfCX9MMKokeuOscM
   [2606:4700:30::681b:ae50]: "<!DOCTYPE html>\n<!--[if lt IE 7]>
   <html class=\"no-js ie6 oldie\" lang=\"en-US\">
   <![endif]-->\n<!--[if IE 7]>    <html class=\"no-js "

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

早まって、CloudFlareのSSLをFullにしてしまった可能性あり。

設定は無事終わったが、httpsでアクセスできない。

letsencrypt SSL: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:SSL alert number 46

CloudFlareのSSLをFlexibleにしたまま可能性あり。

1
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
1
0