Ssl – XCA Signing Problem

certificatecsrsslssl-certificate

I am trying to make a self-signed SSL Certificate for Sun WebServer 6.1 using the
XCA Certificate GUI. Here is my process:

  1. Login to Sun Webserver admin console.
  2. Use the "Generate CSR" function to create the cert to be signed.
  3. Import the CSR into XCA.
  4. Try to sign the CSR in XCA.
  5. XCA throws the following error message:

"The following error occured:
The key you selected for signing is not a private one."

Sun WebServer does not have an option to control whether or not the private key is included with the CSR. Does anyone know of a workaround to sign a Sun Webserver CSR (preferably with XCA)?

Best Answer

You need to create a CA certificate and use it for signing the CSR. The private key of the CSR remains on the Sun Webserver.