Page 1 of 1

create a password-protected ssh-Key manually in openvpn

Posted: Mon Nov 25, 2013 2:06 pm
by Niewb
I want to create a password-protected ssh-key. I typed in this command to create an ssh-key which is password protected:

Code: Select all

pkitool --pass newKey
I have to type in my passphrase and have to verify it, a newKey.crt, newKey.csr, newKey.key i getting created BUT it still mentions following:

Code: Select all

Certificate is to be certified until Nov 23 12:28:08 2023 GMT (3650 days)
failed to update database
TXT_DB error number 2
unable to write 'random state'
is that dangerous for me or can I ignore this statement ?

There is no .pem created and the newKey.crt is empty as well... Do you know what I did wrong ?

Re: create a password-protected ssh-Key manually in openvpn

Posted: Thu Dec 05, 2013 11:58 am
by maikcat
I want to create a password-protected ssh-key .
ok..
pkitool --pass newKey
pkitool for creating ssh keys? :shock:


if you have windows try puttygen or ssh-keygen if you have linux.

ps: FYI ssh uses rsa/dsa keys.

Michael.