#```py

1 messages · Page 1 of 1 (latest)

hybrid willow
#

Thanks! But the issue is, the certificates renew every month. And, I'd like very much to connect to more than one device. There's nothing in the chain either, was looking for a common CA. Turning off TLS verify would seem like the only option, but I don't think that the ssl module supports/exposes that option.

wanton gull
#

not that I know of, you can turn off server name checking, or supply a pem file (or string)

#

otherwise, HTTPS expects to be known CA with server match

hybrid willow
#

Yup, I saw, but names aren't the problem 😦
Seems like micropython does support this. I don't like switching tho.

wanton gull
#

would be nice to have a -k option

#

I think there was some discussion in an issue or PR, not sure if it was Espressif chips or Pico W, that the SDK might not have an API for it?

hybrid willow
#

Found someone talking about an Espressif chip, they ended up adding the cert string too.

#

I took a look at the .h files, there doesn't seem to be a way to specify verify mode, as in CPython, nor to construct a context w/o verify.