I have the same problem with android m5-rc15. Which TLS key formats are supported by the android api?
thanks for answers! Patrick On Mar 23, 6:09 am, "Jonathan Thompson" <[EMAIL PROTECTED]> wrote: > Hi All, > > I am getting an IOException "wrong version of key store" when I run the > following code (the load method is the culprit): > > char password[] = "password".toCharArray(); > > KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); > > keyStore.load(graphicalUI.getResources().openRawResource(R.raw.serverkeys), > password); > > R.raw.serverkeys refers to the certificate I created using the Java keytool > as follows: > > keytool -genkey -keystore serverkeys -keyalg rsa -alias sk > > Enter keystore password: password > > What is your first and last name? > > [Unknown]: first.last.name > > What is the name of your organizational unit? > > [Unknown]: Home > > What is the name of your organization? > > [Unknown]: Home > > What is the name of your City or Locality? > > [Unknown]: Toronto > > What is the name of your State or Province? > > [Unknown]: Ontario > > What is the two-letter country code for this unit? > > [Unknown]: CA > > Is CN=ultra, OU=Training and Consulting, > > O=javacourses.com, L=Toronto, ST=Ontario, C=CA correct? > > [no]: yes > > Enter key password for <sk> > > (RETURN if same as keystore password): RETURN > > What is causing this exception to be thrown, is it that I have the wrong > KeyStore type? How do I know what the valid KeyStore types? > > Regards, > > Spoon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---