Bug 1007817 - [ RFE ] - Add method of updating ca-bundle.crt
Summary: [ RFE ] - Add method of updating ca-bundle.crt
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-13 11:35 UTC by Alexander Todorov
Modified: 2014-09-01 11:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 982932
Environment:
Last Closed: 2014-01-16 20:11:46 UTC
Type: Bug


Attachments (Terms of Use)

Description Alexander Todorov 2013-09-13 11:35:05 UTC
Cloning for Fedora

+++ This bug was initially created as a clone of Bug #982932 +++

Description of problem:

When I replace etc/pki/tls/certs/ca-bundle.crt in initrd.img used for installation
it is replaced in stage 2 by that file from install.img

Version-Release number of selected component (if applicable):

anaconda 13.21.195
RHEL-6.5

How reproducible:
always


Steps to Reproduce:
1. setup your own certificate authority (CA), and https server with certificate signed by this CA
2. modify initrd.img - put CA certificate into etc/pki/tls/certs/ca-bundle.crt
3. prepare kickstart with url --url=https://yourserver/path 
4. start new installation with ks parameter pointing to your kickstart

Actual results:

1. anaconda is able download product.img, install.img but is not able to download repomd.xml

2. /etc/pki/tls/certs/ca-bundle.crt is replaced by file from install.img 

Expected results:

1. ca-bundle.crt is not replaced or is merged
2. anaconda will continue in installation


--- Additional comment from David Cantrell on 2013-07-31 20:50:37 EEST ---

We have never had official support for updating ca-bundle.crt on the installation media or really any other install-time method to supplement the CA's provided.  Both the 'url' and 'repo' kickstart commands have the --noverifyssl option to work around the local self-signed certificate issues.

For this RFE to be considered in RHEL, we would first need to see a design and implementation in Fedora.  The 'url' and 'repo' kickstart commands could be expanded to also accept a .pem file or data somehow provided in the kickstart file and the installer could supplement the ca-bundle.crt at run time.  That's just an idea.

I'll leave it to you to file the RFE for Fedora.  Setting this bug to devel_ack-

Comment 1 Chris Lumens 2013-12-09 17:21:33 UTC
Can you not just use an updates.img for this purpose?  It should just overlay whatever's on the installation media.


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