Skip to content

Question on certificate in BasicHttpsClient example #1038

Answered by earlephilhower
RickSeiden asked this question in Q&A
Discussion options

You must be logged in to vote

You need to get their certificate and find the trust root (last cert in line).

openssl s_client -showcerts -servername io.adafruit.com  -connect io.adafruit.com:443

You can then take the last one,

-----BEGIN CERTIFICATE-----
MIIEizCCA3OgAwIBAgIQBUb+GCP34ZQdo5/OFMRhczANBgkqhkiG9w0BAQsFADBh
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
QTAeFw0xNzExMDYxMjIzNDVaFw0yNzExMDYxMjIzNDVaMF4xCzAJBgNVBAYTAlVT
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
b20xHTAbBgNVBAMTFEdlb1RydXN0IFJTQSBDQSAyMDE4MIIBIjANBgkqhkiG9w0B
AQEFAAOCAQ8AMIIBCgKCAQEAv4rRY03hGOqHXegWPI9/tr6HFzekDPgxP59FVEAh
150Hm8oDI0q9m+2F…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RickSeiden
Comment options

@earlephilhower
Comment options

@RickSeiden
Comment options

Answer selected by earlephilhower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants