Closed vaindil closed 6 years ago
Which platform?
Sorry, this is on Android 7.1.1.
Package versions:
OK, i will run some tests.
Cannot reproduce this. Can you provide a demo project?
This is really odd, apparently it has to do with the certificate itself. When I test with https://self-signed.badssl.com
the code works, but testing with https://my.hostname.local
throws the error. I'll see if I can recreate the cert for a repro.
This is the exception that I get. I can't figure out why I get it. I can't repro either. Does that help at all?
Today I learned that you can't have a two-level wildcard cert (like *.*.example.com
). That was the issue. I fixed the cert and now all is good. Sorry about this!
No problem.
I'm connecting to a local server that uses a self-signed SSL cert, so
EnableUntrustedCertificates
is set totrue
. I'm still getting the below error, however. Am I misunderstanding whatEnableUntrustedCertificates
is intended to do?The exception:
I'm declaring
HttpClient
like this: