Bug 1866745 - Configure imageio backend http CA file
Summary: Configure imageio backend http CA file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: PKI
Version: 4.4.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.2
: 4.4.2.3
Assignee: Vojtech Juranek
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-06 09:10 UTC by Vojtech Juranek
Modified: 2020-09-18 07:12 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.2.3
Clone Of:
Environment:
Last Closed: 2020-09-18 07:12:38 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 110627 0 master MERGED packaging: add http backend CA file option into default imageio config 2021-01-28 00:30:37 UTC

Description Vojtech Juranek 2020-08-06 09:10:10 UTC
Imageio added option to configure CA file for backend HTTP in release 2.0.10-1. This is needed in case used wants to use own PKI files for engine, see BZ #1862107 for more details. Configure this option in engine's imageio config (/etc/ovirt-imageio/conf.d/50-engine.conf) and set it to default engine CA.

Comment 1 Nir Soffer 2020-08-18 12:07:31 UTC
Fixing milestone, this is included in ovirt 4.4.2, and there is
no reason to wait for ovirt 4.4.3 for it.

Comment 2 Petr Kubica 2020-08-19 07:54:47 UTC
Hi Vojtech, 
did you mean 'set it to apache CA' instead of 'set it to default engine CA' ?
Or should be there the engine CA (/etc/pki/ovirt-engine/ca.pem)

Thank you,
Petr

Comment 3 Vojtech Juranek 2020-08-19 08:35:32 UTC
> did you mean 'set it to apache CA' instead of 'set it to default engine CA' ?
> Or should be there the engine CA (/etc/pki/ovirt-engine/ca.pem)

no, default engine CA is apache CA (right now, but it can change), so by default it should point to apache CA

Comment 4 Petr Kubica 2020-09-01 06:47:32 UTC
According to comments in code. It looks like that the value should point to Engine certificate which is not changed during using 3rd party certificates

In configuration I see
[backend_http]
# CA file used by HTTP backend client to verify imageio server certificate.
# Do not change, oVirt host pki setup is based on this CA.
ca_file = /etc/pki/ovirt-engine/ca.pem

Downloading and uploading images when using 3rd party certificates works as expected.

Verified in
# rpm -qa | grep ovirt-imageio
ovirt-imageio-common-2.0.10-1.el8ev.x86_64
ovirt-imageio-daemon-2.0.10-1.el8ev.x86_64

Comment 5 Sandro Bonazzola 2020-09-18 07:12:38 UTC
This bugzilla is included in oVirt 4.4.2 release, published on September 17th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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