Skip to content

Instantly share code, notes, and snippets.

@taf2
Created May 30, 2020 11:23
Show Gist options
  • Save taf2/557e55ef95e66912bdbfcafdadfdbea8 to your computer and use it in GitHub Desktop.
Save taf2/557e55ef95e66912bdbfcafdadfdbea8 to your computer and use it in GitHub Desktop.
openssl s_client -connect yum.datadoghq.com:443
CONNECTED(00000003)
140536412514128:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:794:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 289 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
Start Time: 1590837592
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
@taf2
Copy link
Author

taf2 commented May 30, 2020

 curl https://yum.datadoghq.com/rpm/x86_64/repodata/repomd.xml
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment