Hi,
I'm trying to migrate JKS keystore entries to NSS 3.11.4 database and get an 
exception.
I'm working on Solaris 10.
I wonder what I am doing wrong.
These are the the prerequisites I perform:

certutil -N -f pwdfile.txt -d .  (Create NSS DB)
modutil -fips true -dbdir /opt/nss/fipsdb (Enable fips mode)
keytool -importkeystore -srckeystore client.private -srcstoretype JKS 
-deststoretype PKCS12 -destkeystore client.privatepkcs12 (Convert JKS keystore 
file client.private to pkcs12 format)
pk12util -i client.privatepkcs12 -d . (import pkcs12 file to NSS database)
Here I get the following exception:
pk12util: PKCS12 decode import bags failed: Unable to import.  Error attempting 
to import private key.

Thanks in advance
Yevgeniy




________________________________
This email and any files transmitted with it are confidential material. They 
are intended solely for the use of the designated individual or entity to whom 
they are addressed. If the reader of this message is not the intended 
recipient, you are hereby notified that any dissemination, use, distribution or 
copying of this communication is strictly prohibited and may be unlawful.

If you have received this email in error please immediately notify the sender 
and delete or destroy any copy of this message
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to