Creating a Secure Credential with PEM-Encoded Public and Private Keys
You can skip this procedure if you have obtained a signed Certificate Authority (CA) from a trusted third party. In this case, you can paste the credential and private key into the Secure Credentials window described above in Creating a Secure Credential with Username and Password.
Generating a secure credential that includes PEM-encoded public and private keys is a two-step procedure that is best done in code.