You need to sign in to do that
Don't have an account?
michael tang
Salesforce client certificate authentication
Hi,
I downloaded the salesforce client certificate from salesforce website, but when I use keytool to import this certificate to keystore. the error message comes as below.
keytool -import -alias sforce -file sfdc_client.cert -keystore trust.keystore
Enter keystore password: tangquan
keytool error: java.lang.Exception: Input not an X.509 certificate
but it is successful with the verisign public certificate. the salesforce certificate ends with cert file extension, but verisign's ends with cer file extension. It will be helpful if you guys provide information on this.
There is another thread on this that says the solution is to convert the SSL cert to the X.509 format.
One easy way to do this is import it into Firefox, and then export it.
In firefox, go to Tools, options, Advanced, Encryption, click View Certificates.
Import a Server certificate.
Then export, and the default format is PEF, or x.509.
Erik
Hi Michael,
I got .pfx certificate from client . When I tried to upload the certificate in salesforce . I got the same error .
Please let me know if you have solution for this .
Thanks
Ankit
Hey Ankit,
Were you able to resolve this issue?
Thanks.