Bug 1385062 - Manager SSL cert replacement breaks everything
Summary: Manager SSL cert replacement breaks everything
Keywords:
Status: CLOSED DUPLICATE of bug 1336838
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.0.6
: ---
Assignee: Yedidyah Bar David
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-14 16:01 UTC by Jeff Warnica
Modified: 2016-10-20 13:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-20 13:11:30 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Warnica 2016-10-14 16:01:12 UTC
Loosely based on the documentation at https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/administration-guide/appendix-d-red-hat-virtualization-and-ssl , I used IPA to generate, request, install new certificates, e.g.:

# cd /etc/pki/ovirt-engine/certs
# rm /etc/pki/ovirt-engine/apache-ca.pem
# rm /etc/pki/ovirt-engine/certs/apache.cer  /etc/pki/ovirt-engine/keys/apache.key.nopass
#  ipa-getcert request  -f /etc/pki/ovirt-engine/certs/apache.cer -k /etc/pki/ovirt-engine/keys/apache.key.nopass 
	(verify file names here)
# systemctl restart httpd

Apache restarts, and the certificate is the new (and valid), but presents an error:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

API access (cloudforms) fails as well. 

I *assume* that I also replaced the internal certs somehow, but don't know how to repair.

Comment 2 Jeff Warnica 2016-10-20 13:11:30 UTC

*** This bug has been marked as a duplicate of bug 1336838 ***


Note You need to log in before you can comment on or make changes to this bug.