Closed tele-bird closed 4 years ago
I just released a new version yesterday but this is not supported yet. I will have to take a look into it.
Done in version 3.4.1
Great, thank you! How do I set up custom validation? I don't see any mention of it in README.md
You don’t. Just pass the public keys in the format of your preference and it will work.
Ok, so we want to validate both MD5 and SHA1, as in the code snippet I provided. Is there a way to pass both formats, and have it check that MD5 equals cert1 and SHA1 equals cert2 ?
Pass both them for the domain associated with the certificate.
For connecting to our IoT device's SSL endpoint, we need to use a self-signed certificate, and we want to validate its MD5 and SHA1 hash strings like this:
However, with modernhttpclient-updated, I only see ways to validate the public keys, and I can't customize the validation. Is it not possible?