Hello, I am trying to implement SSL pinning following this approach: http://blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html It all works fine on multiple test devices (Nexus, Samsung S1, Wildfire, etc.), except on Samsung Galaxy S2 (European version with 2.3.6). Sporadically (one attempt of maybe 3-4) i get one of this error messages: - error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01 (SHA-1) -error:04067084:rsa routines:RSA_EAY_PUBLIC_DECRYPT:data too large for modulus (SHA-1)
The problem also occurs only if i have multiple keys with the same CNAME entry in the BKS. When i put only one key in the keystore it works fine every time. However in case i want to change the certificate of my backend and have a smooth transition period, i need the app to be able to accept two keys for the same host. Any ideas what the cause might be and how to circumvent it will be highly appreciated. Thank you! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

