[Openswan Users] Help , TSL 3 , ipsec can not creat a new host key

Paul Wouters paul at xelerance.com
Tue Sep 20 15:47:55 CEST 2005


On Mon, 19 Sep 2005, wangwei wrote:

> Who will tell me what's wrong with my system.
> I install Trustix Security Linux 3.0 in my computer. (It's ok)
> But, when I input the command as list as fellow, I can not get any response
> from my system.
>
> # ipsec newhostkey --output mykey.txt --bits 1024
>
> When I press Ctrl +c to stop it , I found a file named "mykey.txt.new" is
> creat , and nothing in this file . it's empty.

It seems you do not have enough randomness in your machine.
If it is a desktop try running: find / > /dev/null &

(or run the updatedb/slocate command or do anything else that generates lots
  of disk IO)

Paul



More information about the Users mailing list