Hi,
After I upload the application to the google play, I can see a warning like 
below,

"

*Security Alert: Your app contains embedded private keys or keystore files*

This app contains one or more private keys or keystore files embedded in 
its published apk as listed at the end of this message. These embedded 
items can be accessed by third parties, which can raise a variety of 
different security concerns depending on what the key is used for. For 
example, if the private key is the signing key for your application, a 
third party could sign and distribute apps that replace your authentic apps 
or corrupt them. Such a party could also sign and distribute apps under 
your identity.

As a general security practice, we strongly recommend against embedding 
private keys and keystore files in apps, even if the keys are password 
protected or obfuscated. The most effective way to protect your private key 
and keystore files are not to circulate them.

*Please remove your private keys and keystore files from your app at your 
earliest convenience.* For more information about keeping your keys secure, 
please see https://developer.android.com/tools/publishing/app-signing.html.

You have a responsibility as a developer to secure your private key 
properly, at all times. *Please note, applications with vulnerabilities 
that expose users to risk of compromise may be considered in violation of 
our "Malicious Behavior" policy and section 4.4 of the Developer 
Distribution Agreement.*


   - res/raw/****_godaddy_cert.keystore

Affects APK version ****.

"

Please note that this is not the application signing keystore. This is the 
keystore which contains the SSL certificate, Which used to process SSL 
handshake for devices below android version 6.0.0 since this certificate is 
not recognized as a valid certificate(i.e. not in the device security key 
chain)

I use this link to get the keystoe done 
- http://kdehairy.com/handling-ssl-certificates-in-android/

There is a solution which this can be avoided(i.e not adding keystore in 
the android application) but the server side was unable to process that 
- http://tozny.com/blog/godaddys-ssl-certs-dont-work-in-java-the-right-solution/

Any idea on how to resolve this warning? Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2bd4550f-ef17-41e1-ac8d-959249163357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to