简体   繁体   中英

Will Google Play Store accept self signed certificate apps?

I am a newbie developing an Android app. It implements a socket connection and has to bypass or allow all host for it to work with our self-signed certificate installed on a server. I heard that google play store doesn't accept this kind of connection in the published app. Is it true? Or there is another way to do it? Thank you.

and had to bypass or allow all host in order to work with our self-signed certificate installed on server

That was not a particularly good move, from the standpoint of security.

I heard that google play store doesnt accept this kind of connection in the published app

The Play Store has implemented a ban on apps that bypass SSL validity checking and blindly accept all incoming SSL certificates.

Or there is another way to do it ?

Android 7.0+ has support for self-signed certificates . I backported that code to work on Android 4.2+. There are other libraries that offer self-signed certificate support, such as this one . There have been articles written on using self-signed certificates .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM