# openssl pkcs12 -in /etc/pki/ovirt-engine/keys/engine.p12 -passin pass:mypass -nodes
-nocerts | ssh-keygen -y -f /dev/stdin
----- Original Message -----
From: "Bob Doolittle" <bob(a)doolittle.us.com>
To: "Alon Bar-Lev" <alonbl(a)redhat.com>
Cc: "users" <users(a)ovirt.org>
Sent: Wednesday, January 8, 2014 8:01:46 PM
Subject: Re: [Users] Need to recreate public RSA key on node
Awesome, thanks!
-Bob
P.S. I should have said that engine and node are both RH6.5, so
ssh-keygen doesn't recognize the -m option, but I was able to copy the
engine.cer to an F20 host first and run the command.
On 01/08/2014 12:51 PM, Alon Bar-Lev wrote:
> openssl x509 -in /etc/pki/ovirt-engine/certs/engine.cer -pubkey -noout |
> ssh-keygen -i -m PKCS8 -f /dev/stdin