cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
430
Views
0
Helpful
3
Replies

Importing Certificates on Content Switch CSS11501

cisco-pix
Level 1
Level 1

Hi,

I am having some problems getting my certificate to work on my CSS. Here is what I have done:

1. Generated a CSR

ssl genrsa MyKey 1024 "MyPassword"

2. Associated the key pair

ssl assoc rsakey MyKeyAssoc MyKey

3. Generated a CSR

ssl gencsr MyKeyAssoc

and I sent this off to my provider, and got a certificate in return... the file was renamed as a .txt file, so I renamed it .der and did the following:

4. Copy Cert on to Content Switch

copy ssl ftp my-record import MyCertName.der DER "MyPassword"

5. Associate the Cert (HERE IS THE PROBLEM...)

ssl assoc cert MyCertNameAssoc MyCertName.der "MyPassword"

Here it comes back with an error of "Not a valid key or certificate file"

Any ideas?.........

3 Replies 3

Jagdeep Gambhir
Level 10
Level 10

Could you check if the RSA key was passphrase protected ? If so, then on import you need to specify the passphrase as the *second* key argument, like so :

copy ssl ftp DEFAULT_FTP import rsakey.pem PEM "mypassword" "passphrase"

If not, the CSS will not complain on import but will consider the RSA key invalid when you try to associate it. The first key argument ("mypassword") is the password used to DES encrypt the RSA-key before writing it to the CSS' permanent storage.

Regards,

~JG

No:- there is no passphrase associated with the key.

I am thinking it is a problem around the format of the cert: I generated the CSR in .pem format, my provider are returning a cert in .cer format, which I rename .pem before importing.

It imports fine, but does not allow me to associate it?...

Can anyone help here??

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card