Hi,
We are experiencing issues with SSL certificates on some endpoints. When the root CA or intermediate CA chain is not provided, older Android versions may reject the certificate.
Adb log:
[ERROR:net/socket/ssl_client_socket_impl.cc:896] handshake failed; returned -1, SSL error code 1, net_error -202
(ERR_CERT_AUTHORITY_INVALID)
The main issue is that debug builds connect successfully anyway, while release builds fail.
This makes debugging difficult, because no one becomes aware of the problem until the app is ready for release.
Is there any way to compile debug builds so that they behave the same as release builds in this scenario?
I found this post on Stack Overflow:
Can this solution be applied with VoltBuilder?
Thanks in advance
D.