cancel
Showing results for 
Search instead for 
Did you mean: 

PKCS #7

Former Member
0 Kudos

Hi

I am trying to upload pkcs #7 certificate

thrugh -> Key Storage -> Service_SSL -> Load

the j2ee asks for password and then throws the error

ID21143 : Certificate SEQUENCE must hasve 3 components!

Any1 knows how to fix it ?

thx,

Shai

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have now the same issue, did you manage to solve this issue?

Please let me know

Thanks!

/Jonas

andre_wahlig
Explorer
0 Kudos

We had the same issue and solved it by using a pkcs #12 certificate, with both Private and Public key and load the *.pfx file to Key Store.

Thanks for the hint Jonas!

How to generate a PKCS#12 file:

>C:\Openssl\bin\openssl.exe pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in <Public Certificate Filename> -inkey <Private Key Filename> -out <PKCS#12 Filename> -name "<Display Name>"

Where:

<Public Certificate Filename> is the input filename of the public certificate, in PEM format

<Private Key Filename> is the input filename of the private key

<PKCS#12 Filename> is the output filename of the pkcs#12 format file

<Display Name> is the desired name that will sometimes be displayed in user interfaces.

For example, type:

>C:\Openssl\bin\openssl.exe pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in my_cert.crt -inkey my_key.key -out my_pkcs12.pfx -name "my-name"