How to create certificate chain?

User avatar
Siberian Cableman
Уже с Приветом
Posts: 1222
Joined: 02 Jan 2002 10:01
Location: Bellevue, WA

How to create certificate chain?

Post by Siberian Cableman »

Hello everybody,

I got a problem trying to create certificate chain.
I can create a key entry having private key and single signing certificate using java keytool:

keytool -genkey -alias carr1 -dname "<some info>" -keystore keystore.jks -keyalg RSA -storepass pass123 -keypass pass123

keytool -selfcert -alias carr1 -dname "<some info>" -keystore keystore.jks -sigalg MD5withRSA -keypass pass123 -storepass pass123

It works just fine, but I need a certificate chain instead of single signing cert. It seems to me that keytool does not allow to do it.
I also do not want to do it programmatically (Java).

I am expecting that command line utilities such as openssl can do it.
Any ideas how to do it?

Thanks,
Alex
User avatar
A. Fig Lee
Уже с Приветом
Posts: 12072
Joined: 17 Nov 2002 03:41
Location: английская колония

Post by A. Fig Lee »

openssl command line tool should help I think.
Верить нельзя никому - даже себе. Мне - можно!

Return to “Вопросы и новости IT”