Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - always return CONNECTION_NOT_SECURE on 1 url #68

Open
nazmisyazwan90 opened this issue Aug 1, 2021 · 2 comments
Open

Android - always return CONNECTION_NOT_SECURE on 1 url #68

nazmisyazwan90 opened this issue Aug 1, 2021 · 2 comments

Comments

@nazmisyazwan90
Copy link

nazmisyazwan90 commented Aug 1, 2021

I'm basically using this to check ssl certificate fingerprint from 2 domains.

One of the domain always return CONNECTION_SECURE,
https://api.ipify.org?format=json
sha256-fingerprint:
8A 0C AA B8 00 68 C2 01 09 EA 1B 99 E1 70 EC 6C 99 5A A7 0A DA 2D F7 E6 FE 0F A1 04 D8 17 6D 97

and my server serving my app's api calls always return CONNECTION_NOT_SECURE on android

As a preface, I tested the same code on iOS and the ssl check on both domains returns CONNECTION_SECURE,
If it helps, I'm developing the app using the Ionic (v6) Angular (v8)

@bhar-subhajit
Copy link

Facing the same issue. In iOS it is working fine, but in Android it returns CONNECTION_NOT_SECURE for one particular url.
After debugging, found that con.connect() method was giving error, so IMO it wasn't able to connect to the server url in Android. Any help/suggestion will be much appreciated...

@venkatschinthakindi
Copy link

I wrote one plugin which supports IOS and android, Please check and confirm
Plugin name ssl.publickey.checker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants