Amazon Linux 2からLet’s Encryptの証明書を使っているサーバーにcurlすると
$ curl https://example.com
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html
と、エラーになる。
【解決方法】
Amazon Linux 2のCA証明書を更新する
$ sudo yum update ca-certificates

コメント