You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Hi,
So I'm currently implementing the OfflineVerify based on Sample provided. But I face an exception on jws.verifySignature() step. After some debugging (copying the verification implementation), the exception become more specific: Domain specific configurations require that hostname aware heckServerTrusted(X509Certificate[], String, String) is used
Based on that it seems the error is related with network-security-config.xml that is used by my app, removing it fixing the error. But I still need to use the config, so any idea what changes on the config to fix this?
Here's the one I use (changed the domain name)
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificatessrc="system" />
<certificatessrc="user" />
</trust-anchors>
</debug-overrides>
<domain-configcleartextTrafficPermitted="true">
<domainincludeSubdomains="true">google.com</domain>
<domainincludeSubdomains="true">example.com</domain>
</domain-config>
</network-security-config>
Any help appreciated
The text was updated successfully, but these errors were encountered:
Hi,
So I'm currently implementing the OfflineVerify based on Sample provided. But I face an exception on
jws.verifySignature()
step. After some debugging (copying the verification implementation), the exception become more specific:Domain specific configurations require that hostname aware heckServerTrusted(X509Certificate[], String, String) is used
Based on that it seems the error is related with network-security-config.xml that is used by my app, removing it fixing the error. But I still need to use the config, so any idea what changes on the config to fix this?
Here's the one I use (changed the domain name)
Any help appreciated
The text was updated successfully, but these errors were encountered: