fluent / fluentd

Fluentd: Unified Logging Layer (project under CNCF)
https://www.fluentd.org
Apache License 2.0
12.9k stars 1.34k forks source link

GPG Certificate Expired for td-agent #4089

Closed bennettfalkenberg closed 1 year ago

bennettfalkenberg commented 1 year ago

Describe the bug

Getting GPG certificate expired when trying to fetch GPG key: https://toolbelt.treasuredata.com/sh/install-redhat-td-agent4.sh

To Reproduce

curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent4.sh | sh

Retrieving key from https://packages.treasuredata.com/GPG-KEY-td-agent

GPG key retrieval failed: [Errno 14] curl#60 - "Peer's Certificate has expired."

Expected behavior

GPG Key is retrieved

Your Environment

- TD Agent version: 4
- Operating system: Centos7

Your Configuration

N/A

Your Error Log

Retrieving key from https://packages.treasuredata.com/GPG-KEY-td-agent

GPG key retrieval failed: [Errno 14] curl#60 - "Peer's Certificate has expired."

Additional context

No response

ashie commented 1 year ago

I can't reproduce it, and the certificate of packages.treasuredata.com doesn't seem expired:

$ openssl s_client -connect packages.treasuredata.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -dates
notBefore=Feb 21 00:00:00 2023 GMT
notAfter=Sep 16 23:59:59 2023 GMT

Could you check your host's date?