Debug.keystore
PJPL
Member Posts: 24
Hi everyone. I searched the forum (and the web !) to find some informations about this debug.keystore but I didn't find enough answers.
Here's the story : I've got an app, already on appstore and I want it to run on android. BUT I don't have any android device. So I've tried to sign it through Gamesalad servers with a debug.keystore because I want to send the app to some friends of mine so they can test it for me.
The problem is that I don't manage to create this key (because it's not in the directory it should be( ~/.android). I found this command line on the web to create one :
keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
But I get an error message :
erreur keytool : java.io.IOException: ObjectIdentifier() -- Must be at least two oid components
java.io.IOException: ObjectIdentifier() -- Must be at least two oid components
at sun.security.util.ObjectIdentifier.checkValidOid(ObjectIdentifier.java:95)
at sun.security.util.ObjectIdentifier.(ObjectIdentifier.java:77)
at sun.security.x509.AVAKeyword.getOID(AVA.java:1263)
at sun.security.x509.AVA.(AVA.java:175)
at sun.security.x509.AVA.(AVA.java:128)
at sun.security.x509.RDN.(RDN.java:134)
at sun.security.x509.X500Name.parseDN(X500Name.java:901)
at sun.security.x509.X500Name.(X500Name.java:148)
at sun.security.x509.X500Name.(X500Name.java:135)
at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1153)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:786)
at sun.security.tools.KeyTool.run(KeyTool.java:172)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
Has anyone already tried to do something similar ?
Thank you for your answers !
PJPL.
Here's the story : I've got an app, already on appstore and I want it to run on android. BUT I don't have any android device. So I've tried to sign it through Gamesalad servers with a debug.keystore because I want to send the app to some friends of mine so they can test it for me.
The problem is that I don't manage to create this key (because it's not in the directory it should be( ~/.android). I found this command line on the web to create one :
keytool -genkey -v -keystore ~/.android/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
But I get an error message :
erreur keytool : java.io.IOException: ObjectIdentifier() -- Must be at least two oid components
java.io.IOException: ObjectIdentifier() -- Must be at least two oid components
at sun.security.util.ObjectIdentifier.checkValidOid(ObjectIdentifier.java:95)
at sun.security.util.ObjectIdentifier.(ObjectIdentifier.java:77)
at sun.security.x509.AVAKeyword.getOID(AVA.java:1263)
at sun.security.x509.AVA.(AVA.java:175)
at sun.security.x509.AVA.(AVA.java:128)
at sun.security.x509.RDN.(RDN.java:134)
at sun.security.x509.X500Name.parseDN(X500Name.java:901)
at sun.security.x509.X500Name.(X500Name.java:148)
at sun.security.x509.X500Name.(X500Name.java:135)
at sun.security.tools.KeyTool.doGenKeyPair(KeyTool.java:1153)
at sun.security.tools.KeyTool.doCommands(KeyTool.java:786)
at sun.security.tools.KeyTool.run(KeyTool.java:172)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
Has anyone already tried to do something similar ?
Thank you for your answers !
PJPL.