Apple Distribution Certificate and p12

Hello.

Sorry if topic is duplicate.

Situation is it's not quite clear for me what is p12 file and should it be shared?

For a full context:

Currently as a part of paid developer program(i'm not account holder) i developed an app and distributed it to the AppConnectStore, distribution certificate was created on my mac and p12 file was exported to my mac also.

But i'm leaving team soon and what should i do with this certificate? Am i supposed to share the p12 file with someone or should i do something else?

It's my first time in such situation and unfortunately nobody explained to me such details. Sorry if question was silly.

Thanks. Best regards!

Answered by otondin in 696655022

Hello @WeylandZ!

The Apple certificates are a RSA certificate composed by two parts: the private certificate and the public certificate. A .p12 file exports both certificates parts in a single file with a password.

The private part of the certificate was created, from your KeyChain, when you've made the certificate requested on Apple Developer website and the public part of the certificate is created on this requesting flow and got available to download (and install on your KeyChain) once it finish. That way you might have on your Keychain the public and the private certificates together.

So, if you are exporting a .p12 file from your KeyChain that contains both private and public parts of the RSA certificate, setting a password and sharing it with who will manage the app after you, you're done.

Other solution is to revoke the certificate you've created and let whoever is gonna manage the app after you to create another certificate.

I hope I could help.

Accepted Answer

Hello @WeylandZ!

The Apple certificates are a RSA certificate composed by two parts: the private certificate and the public certificate. A .p12 file exports both certificates parts in a single file with a password.

The private part of the certificate was created, from your KeyChain, when you've made the certificate requested on Apple Developer website and the public part of the certificate is created on this requesting flow and got available to download (and install on your KeyChain) once it finish. That way you might have on your Keychain the public and the private certificates together.

So, if you are exporting a .p12 file from your KeyChain that contains both private and public parts of the RSA certificate, setting a password and sharing it with who will manage the app after you, you're done.

Other solution is to revoke the certificate you've created and let whoever is gonna manage the app after you to create another certificate.

I hope I could help.

Apple Distribution Certificate and p12
 
 
Q