function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paul Wilkins.ax1025Paul Wilkins.ax1025 

New Certificate contains no Private Key.

hello,

Earlier in the week we had a certificate expire.   This caused salesforce to stop communicating to a server.   This was se up a few years ago by someone who has since left the company.   I have attempted to create a CA signed certificate which was signed by our CA.   I then imported this into Salesforce and a cert downloaded from here.   But when this cert is imported into our server there is no private key present.

The expired cert has a private key and we get an error that the connection has be closed during hand shake.   Now I am not even sure that this is the correct type of cert to be using as I didn't see any evidence of the expired cert in our salesforce environment.   But I don't know that once a cert expires if it is deleted from the list at Sercurity Controls>Certificate and Key Management.

So my question is have I missed a step in the cert creation that will include a private key or is this the incorrect type of cert.   The call is being made in some apex code and in here I cannot see any reference to a cert.   I didn't expect to see anything here but I can't find and reference to the expired cert.

I have tried trawling documentation but nothing really helps.   It explaqins how to set up the cert but not anything about a private key etc.

Any assistance will be greatly received.

Thanks

Paul.
Ashish_SFDCAshish_SFDC
Hi Paul, 


See the links below will certainly help, 

Client Certificate

http://wiki.developerforce.com/page/Client_Certificate#Where_do_I_go_for_further_information.3F


About Salesforce Certificates and Keys

http://help.salesforce.com/HTViewHelpDoc?id=security_keys_about.htm&language=en_US

Creating Certificates and Key Pairs

http://help.salesforce.com/HTViewHelpDoc?id=security_keys_creating.htm&language=en_US

Managing Master Encryption Keys

http://help.salesforce.com/HTViewHelpDoc?id=security_keys_using_master.htm&language=en_US

Uploading Certificate Authority (CA)-Signed Certificates

http://help.salesforce.com/HTViewHelpDoc?id=security_keys_uploading_signed_cert.htm&language=en_US

Editing Salesforce Certificates and Key Pairs

http://help.salesforce.com/HTViewHelpDoc?id=security_keys_editing.htm&language=en_US#

Should I change the private key when renewing a certificate?

http://security.stackexchange.com/questions/27810/should-i-change-the-private-key-when-renewing-a-certificate


Regards,
Ashish