I have a certificate issued by https://www.starfieldtech.com/ - is it possible to use it to codesign my osx application? I successfully imported that certificate (.pem) to Keychain Access. But I do not know how to add to it corresponding privateKey.key file.
This is a 2048 bits sha256 certificate.
Asked
Active
Viewed 605 times
0

denys
- 2,437
- 6
- 31
- 55
-
2What's the point? If you code-sign with a non-Apple certificate, it won't be recognized by Gatekeeper and other Apple technologies. – JWWalker Aug 26 '17 at 16:21
1 Answers
0
- Convert .pem certificate to .p12
openssl pkcs12 -export -in <OrName>cert.pem -inkey <OrgName>Private.key -passout pass:<password> -out <OrgName>.p12 -name “MyOrg LLC”
- Import it into Keychain Access
- Project settings -> General -> Uncheck “Automatically manage signing”
- Project settings -> Build Settings -> Signning -> Code Signing Identity -> Select “MyOrg LLC” in Identities in Keychain
- Project settings -> General should looks like:
Provisioning profile: “None”
Team: “None”
Signing Certificate: “MyOrg LLC”

denys
- 2,437
- 6
- 31
- 55