kyuupichan / aiorpcX

Generic async RPC implementation, including JSON-RPC
MIT License
27 stars 23 forks source link

Warn user when certificates are not verified #45

Open xloem opened 2 years ago

xloem commented 2 years ago

Hi,

What do you think of this change?

I noticed I had copypasted code into my project that disabled certificate verification. When I re-enabled it, I also noticed some of the hosts I was connecting to had self-signed certificates.

This change warns the user in both situations.