[Openswan Users] Not able to generate keys on Centos 5.3

Avesh Agarwal avagarwa at redhat.com
Mon Nov 30 13:27:04 EST 2009


On 11/30/2009 10:53 AM, kumar shantanu wrote:
> Hi All,
>
> When I tried generating key for my Centos 5.3 I got these errors,.
>
> ipsec rsasigkey --configdir /home/shantanu/keys/ --verbose 2048 > keys.tmp
> getting 60 random bytes from /dev/random...
> ipsec rsasigkey: key pair generation failed: "-8023"
>
>
Possible reasons for this may be:

1) if you have not created NSS database
2) NSS database is created with password, so you need to provide 
"--password <password>" too.
3) /dev/random does not have enough bits.


Avesh
> Can someone please help.
>
> Thank you in Advance.
>
> Shantanu
> <http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?> 
>
>
>
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20091130/2aad4827/attachment.html 


More information about the Users mailing list