[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Openssl keys and isakmpd



Hi,

On Fri, Aug 23, 2002 at 04:32:18PM +0100, AMozhar@SPIRIT21.de wrote:
> Could someboby tell me please, if this command produces two keys(one
> private and one public) or just one private?
> 
> openssl genrsa -out mykey.pem -rand Randomdata 1024
> 
> If it produces two keys, how can I find (get) the public one for putting it
> into isakmpd/pubkeys -directory? ISAKMPD needs to see my public key! Does't
> it?

openssl rsa -in mykey.pem -out mykey.pub -pubout

Cheers,
Hans
-- 
pub  1024D/513AEFD9 1999-12-18 Hans-Joerg Hoexer 
			     <Hans-Joerg.Hoexer@yerbouti.franken.de>
Key fingerprint = 83D2 436A 0D3C 34A9 E0FF  4C33 35F6 617C 513A EFD9