詰まったところ
- 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にしたまま可能性あり。