iOS Question Invalid key!!!

Status
Not open for further replies.
D

Deleted member 103

Guest
Hi,

what does "Invalid key!!!"?
B4i Build Server
Build server is running.
Version: 1.5
Server time: 07:06:29
Mac SSL Key
Invalid key!!!
SSL port: 51042
h files
  • iAdMob: 1.00
  • iArchiver: 1.01
  • iBarcode: 1.03
  • iBLE: 1.00
  • iCore: 1.50
  • iDebug: 1.20
...
 
D

Deleted member 103

Guest
If you are able to compile and install apps from this server then you can ignore this.

Please post the output of the following command:
keytool -list -v -keystore key.jks -storepass 123456

Run it inside the key folder (on your Mac).
^CFilippos-Mini:B4iBuild-Server filippogozza$ keytool -list -v -keystore key.jks -storepass 123456

Keytool-Fehler: java.lang.Exception: Keystore-Datei ist nicht vorhanden: key.jks

java.lang.Exception: Keystore-Datei ist nicht vorhanden: key.jks

at sun.security.tools.keytool.Main.doCommands(Main.java:742)

at sun.security.tools.keytool.Main.run(Main.java:340)

at sun.security.tools.keytool.Main.main(Main.java:333)
/QUOTE]
 
Upvote 0
D

Deleted member 103

Guest
Do you see the key.jks file inside the folder?
Have you navigated to the key folder?
Yes

Mac-Server.JPG
 
Upvote 0

salvadoro

Member
Licensed User
Longtime User
Hi Erel , i have the same problem but i cant download apps to my device, i receive the next msg in the device:

"Imposible conectarse a (IP MAC Builder)"

upload_2015-3-4_14-46-59.png


when i run:

keytool -list -v -keystore key.jks -storepass 123456

i get the next info

B4X:
Tipo de Almacén de Claves: JKS

Proveedor de Almacén de Claves: SUN


Su almacén de claves contiene 2 entradas


Nombre de Alias: rootca

Fecha de Creación: 4/03/2015

Tipo de Entrada: trustedCertEntry


Propietario: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Número de serie: 92425c6446286aef

Válido desde: Tue Jul 22 02:37:28 CDT 2014 hasta: Fri Jul 19 02:37:28 CDT 2024

Huellas digitales del Certificado:

   MD5: BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24

   SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1

   SHA256: FE:B2:BE:0F:AA:78:08:DD:D2:FE:FF:48:13:27:B0:08:A6:18:E0:16:BF:0D:95:3C:15:B4:F9:7A:63:3C:29:A1

   Nombre del Algoritmo de Firma: SHA1withRSA

   Versión: 3


Extensiones:


#1: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: 6F 9F DF FD 2D 56 17 00  34 02 26 AA 95 33 37 80  o...-V..4.&..37.

0010: 74 79 6A B5  tyj.

]

[[email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]

SerialNumber: [  92425c64 46286aef]

]


#2: ObjectId: 2.5.29.19 Criticality=false

BasicConstraints:[

  CA:true

  PathLen:2147483647

]


#3: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: 6F 9F DF FD 2D 56 17 00  34 02 26 AA 95 33 37 80  o...-V..4.&..37.

0010: 74 79 6A B5  tyj.

]

]




*******************************************

*******************************************



Nombre de Alias: jetty

Fecha de Creación: 4/03/2015

Tipo de Entrada: PrivateKeyEntry

Longitud de la Cadena de Certificado: 2

Certificado[1]:

Propietario: CN=192.168.61.147, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Número de serie: 4

Válido desde: Wed Mar 04 13:16:03 CST 2015 hasta: Sat Mar 01 13:16:03 CST 2025

Huellas digitales del Certificado:

   MD5: A5:DB:08:B0:CD:A5:0F:8A:E8:6C:38:15:39:C3:24:41

   SHA1: E1:0C:A5:9F:59:F9:85:4B:FF:B5:C2:4C:B6:E6:83:B4:30:39:AE:9B

   SHA256: 0E:D0:2E:6E:D4:14:1F:6A:C6:6B:DC:64:5E:9F:1A:C8:D6:01:C9:49:DC:9C:57:16:10:9D:AA:91:BE:7E:43:D1

   Nombre del Algoritmo de Firma: SHA1withRSA

   Versión: 3


Extensiones:


#1: ObjectId: 2.16.840.1.113730.1.13 Criticality=false

0000: 16 1D 4F 70 65 6E 53 53  4C 20 47 65 6E 65 72 61  ..OpenSSL Genera

0010: 74 65 64 20 43 65 72 74  69 66 69 63 61 74 65  ted Certificate



#2: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: 6F 9F DF FD 2D 56 17 00  34 02 26 AA 95 33 37 80  o...-V..4.&..37.

0010: 74 79 6A B5  tyj.

]

]


#3: ObjectId: 2.5.29.19 Criticality=false

BasicConstraints:[

  CA:false

  PathLen: undefined

]


#4: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: 23 23 95 D7 B6 A4 75 8E  4D 7F 9A 29 99 3F CF 14  ##....u.M..).?..

0010: 12 B3 30 94  ..0.

]

]


Certificado[2]:

Propietario: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL

Número de serie: 92425c6446286aef

Válido desde: Tue Jul 22 02:37:28 CDT 2014 hasta: Fri Jul 19 02:37:28 CDT 2024

Huellas digitales del Certificado:

   MD5: BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24

   SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1

   SHA256: FE:B2:BE:0F:AA:78:08:DD:D2:FE:FF:48:13:27:B0:08:A6:18:E0:16:BF:0D:95:3C:15:B4:F9:7A:63:3C:29:A1

   Nombre del Algoritmo de Firma: SHA1withRSA

   Versión: 3


Extensiones:


#1: ObjectId: 2.5.29.35 Criticality=false

AuthorityKeyIdentifier [

KeyIdentifier [

0000: 6F 9F DF FD 2D 56 17 00  34 02 26 AA 95 33 37 80  o...-V..4.&..37.

0010: 74 79 6A B5   tyj.

]

[[email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]

SerialNumber: [  92425c64 46286aef]

]


#2: ObjectId: 2.5.29.19 Criticality=false

BasicConstraints:[

  CA:true

  PathLen:2147483647

]


#3: ObjectId: 2.5.29.14 Criticality=false

SubjectKeyIdentifier [

KeyIdentifier [

0000: 6F 9F DF FD 2D 56 17 00  34 02 26 AA 95 33 37 80  o...-V..4.&..37.

0010: 74 79 6A B5  tyj.

]

]




*******************************************

*******************************************
 
Last edited:
Upvote 0

salvadoro

Member
Licensed User
Longtime User
Yes Erel, thanks but now i could get the certificate ok.

I have to revert the change in the language of the osx, i get the mac with the language english and change this to spanish, when i run the b4i-builder there is a warning that dont find the locale-es so with the change in the language all is ok.
 
Upvote 0

salvadoro

Member
Licensed User
Longtime User
Hi Erel i change my mac and now i can't download apps

when i run:

keytool -list -v -keystore key.jks -storepass 123456

i get the next info

B4X:
Tipo de Almacén de Claves: jks
Proveedor de Almacén de Claves: SUN

Su almacén de claves contiene 2 entradas

Nombre de Alias: rootca
Fecha de Creación: 26/12/2018
Tipo de Entrada: trustedCertEntry

Propietario: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Número de serie: 92425c6446286aef
Válido desde: Tue Jul 22 02:37:28 CDT 2014 hasta: Fri Jul 19 02:37:28 CDT 2024
Huellas digitales del certificado:
     MD5: BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24
     SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1
     SHA256: FE:B2:BE:0F:AA:78:08:DD:D2:FE:FF:48:13:27:B0:08:A6:18:E0:16:BF:0D:95:3C:15:B4:F9:7A:63:3C:29:A1
Nombre del algoritmo de firma: SHA1withRSA
Algoritmo de clave pública de asunto: Clave RSA de 1024 bits
Versión: 3

Extensiones:

#1: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
[[email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]
SerialNumber: [    92425c64 46286aef]
]

#2: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#3: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
]



*******************************************
*******************************************


Nombre de Alias: jetty
Fecha de Creación: 26/12/2018
Tipo de Entrada: PrivateKeyEntry
Longitud de la Cadena de Certificado: 2
Certificado[1]:
Propietario: CN=192.168.0.68, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Número de serie: 4
Válido desde: Wed Dec 26 21:02:27 CST 2018 hasta: Sat Dec 23 21:02:27 CST 2028
Huellas digitales del certificado:
     MD5: D2:2B:30:61:16:66:45:AB:DC:FF:FA:70:57:21:EF:40
     SHA1: 57:D5:EF:EE:8D:CB:07:7B:7D:47:64:44:7A:2C:76:BD:AA:89:F8:38
     SHA256: 90:FF:2F:FE:BB:1A:F2:8B:9B:52:4D:A3:53:23:42:3E:24:D7:52:7A:C6:C1:6D:74:0F:E6:B4:E4:08:B2:D4:62
Nombre del algoritmo de firma: SHA1withRSA
Algoritmo de clave pública de asunto: Clave RSA de 2048 bits
Versión: 3

Extensiones:

#1: ObjectId: 2.16.840.1.113730.1.13 Criticality=false
0000: 16 1D 4F 70 65 6E 53 53   4C 20 47 65 6E 65 72 61  ..OpenSSL Genera
0010: 74 65 64 20 43 65 72 74   69 66 69 63 61 74 65     ted Certificate


#2: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
]

#3: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:false
  PathLen: undefined
]

#4: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 40 7D 34 F8 C6 57 45 6C   50 06 58 08 9F 7C AE 17  @.4..WElP.X.....
0010: FF 18 7A 0D                                        ..z.
]
]

Certificado[2]:
Propietario: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Emisor: [email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL
Número de serie: 92425c6446286aef
Válido desde: Tue Jul 22 02:37:28 CDT 2014 hasta: Fri Jul 19 02:37:28 CDT 2024
Huellas digitales del certificado:
     MD5: BC:DE:EC:52:AD:15:92:F0:E2:C4:F0:67:03:02:A6:24
     SHA1: EE:99:4D:77:D1:96:B9:05:2E:45:62:C9:2A:E3:4E:77:0C:7E:01:E1
     SHA256: FE:B2:BE:0F:AA:78:08:DD:D2:FE:FF:48:13:27:B0:08:A6:18:E0:16:BF:0D:95:3C:15:B4:F9:7A:63:3C:29:A1
Nombre del algoritmo de firma: SHA1withRSA
Algoritmo de clave pública de asunto: Clave RSA de 1024 bits
Versión: 3

Extensiones:

#1: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
[[email protected], CN=B4I, OU=B4I, O=Anywhere Software, ST=Some-State, C=IL]
SerialNumber: [    92425c64 46286aef]
]

#2: ObjectId: 2.5.29.19 Criticality=false
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#3: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 6F 9F DF FD 2D 56 17 00   34 02 26 AA 95 33 37 80  o...-V..4.&..37.
0010: 74 79 6A B5                                        tyj.
]
]



*******************************************
*******************************************



Warning:
El almacén de claves JKS utiliza un formato propietario. Se recomienda migrar a PKCS12, que es un formato estándar del sector que utiliza "keytool -importkeystore -srckeystore key.jks -destkeystore key.jks -deststoretype pkcs12".

In the phone i get

"Imposible conectarse a 192.168.0.68"

the only way to download is using the hosted builder

what can i do?
 
Upvote 0
Status
Not open for further replies.
Top