RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1886985 - during kickstart using liveimg with a self-signed certificate fails with certificate verify failed even when using --noverifyssl
Summary: during kickstart using liveimg with a self-signed certificate fails with cert...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Jan Stodola
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-09 22:17 UTC by Ryan Mullett
Modified: 2024-06-13 23:12 UTC (History)
9 users (show)

Fixed In Version: anaconda-33.16.9.2-1.el8
Doc Type: Bug Fix
Doc Text:
.The `--noverifyssl` option for `liveimg` no longer checks the server’s certificate for images downloaded using HTTPS Previously, the installer ignored the `--noverifyssl` option from the `liveimg` kickstart command. Consequently, if the server's certificate could not be validated for images downloaded using the HTTPS protocol, the installation process failed. With this update, this issue has been fixed, and the `--noverifyssl` option of the `liveimg` kickstart command works as expected.
Clone Of:
Environment:
Last Closed: 2023-11-14 15:32:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Anaconda logs from my own test installation (150.00 KB, application/x-tar)
2020-10-09 22:17 UTC, Ryan Mullett
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github rhinstaller anaconda pull 4779 0 None open Apply --noverifyssl option for liveimg kickstart command 2023-05-19 14:59:40 UTC
Red Hat Issue Tracker RTT-5246 0 None None None 2023-05-02 10:42:39 UTC
Red Hat Issue Tracker RTT-5247 0 None None None 2023-05-02 10:42:44 UTC
Red Hat Issue Tracker RTT-5248 0 None None None 2023-05-02 10:42:50 UTC
Red Hat Knowledge Base (Solution) 7022545 0 None None None 2023-07-07 10:18:11 UTC
Red Hat Product Errata RHBA-2023:6957 0 None None None 2023-11-14 15:32:22 UTC

Description Ryan Mullett 2020-10-09 22:17:01 UTC
Created attachment 1720357 [details]
Anaconda logs from my own test installation

Description of problem:
When attempting to kickstart a system using liveimg with a self-signed certificate the system will fail to install even with --noverifyssl. 

Version-Release number of selected component (if applicable):
All RHEL 8 versions. Issue is also present on RHVH which is where this was initially discovered, however RHEL 8 shows the same behavior.

How reproducible:
Always

Steps to Reproduce:
1. Host the ISO on an httpd share using a self-signed certificate. In my example it is on a system with the ip 192.168.122.212
2. Use the following syntax in your kickstart:
liveimg --url=https://192.168.122.212/rhel8-iso/images/install.img --noverifyssl
3. Attempt to kickstart the system

Actual results:
The following error occurred while installing.  This is a fatal error and installation will be aborted.

HTTPSConnectionPool(host='192.168.122.212', port=443): Max retries exceeded with url: /rhel8-iso/images/install.img (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))

Expected results:
System is able to install.

Additional info:
The inst.noverifyssl option on grub is working, because I'm hosting the kickstart out of the same webserver using the same ssl certificate, etc. and I'm able to pull the kickstart (only when using inst.noverifyssl). According to the docs --noverifyssl is a valid option for liveimg, so I would expect this to work. 

As mentioned briefly above, the issue was initially seen on a RHVH 4.4 installation, however the same behavior is present on RHEL 8.2, and on RHVH 4.4. v

Logs from installation attempt on RHEL 8 attached.

Comment 5 Jan Stodola 2023-01-03 16:18:32 UTC
The problem also exists on RHEL-9, reported as bug 2157921

Comment 8 Jan Stodola 2023-05-19 14:59:40 UTC
PR: https://github.com/rhinstaller/anaconda/pull/4779

Comment 12 Jan Stodola 2023-06-19 06:58:36 UTC
Checked that anaconda-33.16.9.2-1.el8 is in nightly compose RHEL-8.9.0-20230618.15.

Moving to VERIFIED

Documentation text will be added once it's approved for RHEL-9 bug 2157921.

Comment 14 Daniel Marek 2023-07-20 09:21:43 UTC
New Test Case created, setting qe_test_coverage -> +

Comment 16 errata-xmlrpc 2023-11-14 15:32:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2023:6957


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