cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2915
Views
0
Helpful
2
Replies

ISE error ' private key is improperly protected'

I have two ISE PSN nodes that I am importing DigiCert ID certificates on.

On one node this worked as it should but on the other I get:

'Private key validation failed: The password is invalid or the private key is improperly protected'

This is a SAN certificate so the CSR is made in OpenSSL from the ISE's .csr and .pvk.

To be sure I didn't messed up the password I generate a new CSR in OpenSSL, and the password is ok.

What is the meaning of 'the private key is improperly protected'?

What could be with the certificate?

I did verify the certificate in OpenSSL with

openssl x509 -in ise01digi.crt -noout -text

Tanks

Mikael

1 Accepted Solution

Accepted Solutions

patrick.kofler
Level 1
Level 1

Hi,

I ran into the same issue with the private key being improperly protected.

I resolved it by encoding the private key into the DER format instead of PEM.

the command would be similar to:

openssl rsa -in [-passin pass:] -outform DER -des3 -out [-passout pass:]

I encrypted my private key with a password. That is why the passin/passout arguments are put into square brackets.

And to be sure that I don't get an error again I additionally used 3DES encryption on the key.

HTH,

Patrick

View solution in original post

2 Replies 2

patrick.kofler
Level 1
Level 1

Hi,

I ran into the same issue with the private key being improperly protected.

I resolved it by encoding the private key into the DER format instead of PEM.

the command would be similar to:

openssl rsa -in [-passin pass:] -outform DER -des3 -out [-passout pass:]

I encrypted my private key with a password. That is why the passin/passout arguments are put into square brackets.

And to be sure that I don't get an error again I additionally used 3DES encryption on the key.

HTH,

Patrick

Work like a charm. :-)

I did it without password on the private key.

Thanks!

  Mikael