Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

bz1456471 - [RFE] Using own certificates for installer (CA, private key) #570

Closed
wants to merge 1 commit into from

Conversation

lhellebr
Copy link
Contributor

bz1456471 - [RFE] Using own certificates for installer (CA, private key)

@jdobes
Copy link
Member

jdobes commented Sep 15, 2017

Review note: this is covering same area as #274. Anybody who reviews this should review both PRs.

Copy link
Contributor

@eherget eherget left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found 2 issues with the PR as it currently stands:

  1. There are print statements near the end of rhn_ssl_tool.py that do not use parenthesis. This caused build failure on Fedora 26. Lines 1156, 1158, 1179, and 1181
  2. After running a normal install I ran spacewalk-setup again with --skip-db-install and the new --skip-ssl-ca-generation args. When the setup prints "Creating SSL certificates." it then prompts "CA certificate password?". Then it asks for other cert info (cname, org, etc). A few lines later it prints "** SSL: Generating server certificate." This is followed by the prompt "CA password:", however this prompt gets overwritten by the busy spinner, which continues to run. So the issue here is two-fold - why is user prompted two separate times for the CA cert password (or is the second prompt somehow the private key password?), and the busy spinner overwriting the "CA password:" prompt so the user doesn't realize the system is waiting for input.

@eherget
Copy link
Contributor

eherget commented Dec 14, 2017

Thank you for your contribution!
I fixed the issues mentioned and merged this manually. Can be found in:
spacewalk-certs-tools-2.8.5-1
spacewalk-setup-2.8.3-1

@eherget eherget closed this Dec 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants