iOS Question Unable to create .csr file

hongbii

Active Member
Licensed User
Longtime User
Hi,
I'm using B4i Version 8.51, jdk 1.8.0_202
When i try to create a new sign key, it prompts this error.


Looking for help,
Thanks!
 

hatzisn

Expert
Licensed User
Longtime User
Try to download java 14.0.2 from Oracle archives and point b4i to this version.
 
Upvote 0

hongbii

Active Member
Licensed User
Longtime User
Try to download java 14.0.2 from Oracle archives and point b4i to this version.
Hi, thanks for the reply,
Still getting the same error with java 14.0.2
btw i'm using local mac builder
```
Build server version: 8.50
```
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
Are you sure it is not a permissions issue? F.e. a folder not accessible by the user you are using?
 
Upvote 0

hongbii

Active Member
Licensed User
Longtime User
hmm since it can generate other files like aps, B4i.keystore, and B4i files in the key folder, so i guess there is no permission issue?
 
Upvote 0

hongbii

Active Member
Licensed User
Longtime User
but somehow the .csr file generated by Java 19 is having this
Error: security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
error
 
Upvote 0

hongbii

Active Member
Licensed User
Longtime User
managed to build it with openssl@1.1.1 (legacy) in the local Mac environment.
tested the jdk 1.8 and jdk 14, both jdk version are not compatible with openssl@3 in the local Mac environment,
the jdk 19 can work with openssl@3 in the localMac environment but the openssl@3 default pkcs12 algorithm is not compatible with MacOS security framework, see https://openradar.appspot.com/FB8988319

so i temporary downgrade the openssl to v1.1.1 to build this.
thanks
 
Upvote 0

BanditMrP

Member
Licensed User
This issue is fixed in newer versions of B4i.
I've just bought and downloaded B4I, I assume I've got the latest version.

Is this the same error?



The tutorial I'm following says there should be a csr created here, which I need for my apple developer account to create the certificate. I only have the following 3 files:


What have I done wrong/not done? My JDK is C:\jdk-19.0.2\bin\javac.exe

Thanks
Ian
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…