I have a valid Developer ID Certificate, I've used it to sign an app locally and send the app to other machines of my colleagues to make sure it works and does not get triggered by GateKeeper
Now I want to automate the process of signing and notarization on github actions and so I want to export my certificate and upload it there.
Initially I tried uploading both the Developer ID Certificate and the G2 CA both as .cer files encoded in base64. But apparently I need my certificate to be in .p12 format
When I try to export it from keychain access the option to export as .p12 is disabled. So how can I do it ?
I have a bunch of info related to this issue in The Care and Feeding of Developer ID. Specifically, it addresses this issue head on:
When I try to export it from keychain access the option to export as .p12 is disabled.
Make sure you choose My Certificates at the top, which causes Keychain Access to showy our digital identities. If you do that and your digital identity isn’t visible in the list, you only have the certificate and not the private key; the post I referenced above has a bunch of advice on what to do in that case.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"