Question on certificate in BasicHttpsClient example #1038
-
Hello, I'm looking at the example in the BasicHttpsClient example, and I understand what it is doing and how it is doing it. What is not clear to me is how to make this work for an arbitrary site. For example, if I wanted to connect to https://io.adafruit.com/, what certificate would I use? Do I need to somehow get a certificate for every site I plan on going to, and if so, how do I do that? Or do I need to generate my own certificate to use to secure the transaction? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You need to get their certificate and find the trust root (last cert in line).
You can then take the last one,
which is the root DigiCert CA. and use that. (you can decode the CERT using
You need to do the same thing for every site your Pico will be connecting to, or look at the |
Beta Was this translation helpful? Give feedback.
You need to get their certificate and find the trust root (last cert in line).
You can then take the last one,