Apple Certificates

From SocialStack
Revision as of 16:53, 13 December 2023 by 80.229.4.125 (talk) (Created page with "== Creating and using apple developer certificates for signing app in devops == === Get openssl === download open ssl 1.x (later versions are not compatible with mac ios see...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creating and using apple developer certificates for signing app in devops

Get openssl

download open ssl 1.x (later versions are not compatible with mac ios see comment below)

If you are using a build system like cordova and receive an error like this one:

security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)

It's because "OpenSSL 3.x changed its default algorithm in pkcs12. Which is not compatible with embedded Security frameworks in macOS/iOS. You could alternatively use OpenSSL 1.x."

Create a certificate signing request (CSR)

openssl genpkey -algorithm RSA -out d:\4Roads_Distribution.key

openssl req -new -key d:\4Roads_Distribution.key -out d:\4Roads_Distribution.csr -subj "/emailAddress=Robert.Nash@4-roads.com, CN=4 Roads LTD, C=GB"

References

https://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html#WSfffb011ac560372f284e44b012cd1e700c0-8000

https://gist.github.com/boodle/77436b2d9facb8e938ad