
----- Original Message -----
From: "Neil" <nwilson123@gmail.com> To: "Juan Hernandez" <jhernand@redhat.com> Cc: users@ovirt.org Sent: Wednesday, October 17, 2012 11:06:24 AM Subject: Re: [Users] Procedure to change engine host name
Sorry to repost, anyone got any ideas here?
Thanks!
Can you check the certificate file for whitespaces, extra characters and etc.? (In some threads about this issue that was usually the problem - apologize in advance if you already read such threads....).
On Tue, Oct 16, 2012 at 12:27 PM, Neil <nwilson123@gmail.com> wrote:
Hi Juan,
Thank you very much for sending through these details, I'm finally getting around to trying to regenerate my certs now, but I'm encountering an issue with importing the old CA as per below...
On Fri, Oct 5, 2012 at 5:03 PM, Juan Hernandez <jhernand@redhat.com> wrote:
5. Regenerate the keystore used by the engine, importing the old CA certificate and the new engine certificate:
rm -f /etc/pki/ovirt-engine/.keystore
keytool \ -keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem
[root@backup ovirt-engine]# rm -f /etc/pki/ovirt-engine/.keystore [root@backup ovirt-engine]# keytool \
-keystore /etc/pki/ovirt-engine/.keystore \ -import \ -alias cacert \ -storepass mypass \ -noprompt \ -file /etc/pki/ovirt-engine/ca.pem keytool error: java.lang.Exception: Input not an X.509 certificate
My certificate was created on the early release of ovirt-engine 3.1 so not sure if this is perhaps why?
Thanks.
Regards.
Neil Wilson.
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users