Web server 7 install Server certificate

Hi.

I have a server sert installed on an appserver issued by verisign.

I've copied out the serts I need using:

keytool -export -v -alias verisignroot -keystore keystore.jks -file vereisignroot.cert

keytool -export -v -alias mycert -keystore keystore.jks -file mycert.cert

I've then installed the cert using: certutil -A -n verisignroot -t c -d . -i verisignroot.cert

It looks ok, and after restarting the web server I can see it in Certificate Authorities.

But when I try: certutil -A -n mycert -t c -d . -i mycert.cert I get:

certutil: could not obtain certificate from file: DER-encoded message contained extra unused data.

Any ideas?

[700 byte] By [kristian_groenli] at [2007-11-26 10:36:46]
# 1

Certutil docuemntation :

http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html

Trust arguments you are passing with -t is "c" . Try with "u" also ?

Can you also try migrating JKS Keystore "keystore.jks" in your case directly using Administration CLI

http://blogs.sun.com/meena/entry/migrating_jks_keystore_entries_to

mv at 2007-7-7 2:47:41 > top of Java-index,Web & Directory Servers,Web Servers...