New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added qpid SSL setup tasks #555
Conversation
create: yes | ||
|
||
- name: Create the main NSS db | ||
command: certutil -N -d {{ tempdir }} -f {{ pwdfile }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is going to require --empty-password
in FIPS mode as well. See: https://bugzilla.redhat.com/show_bug.cgi?id=1401606
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daviddavis code updated, I used the empty-password and tested in f26, 27, rhel7.5 and also rhel7.5 with FIPS enabled.
|
||
## Main task | ||
|
||
The main,yml tasks creates CA and sets the certificates to Apache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-main,yml
+main.yml
|
||
## Qpid SSL | ||
|
||
The qpid.yml tasks creates the qpid nss database ans sets up the certificates for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-database ans sets
+database and sets
ca_name: "ca" | ||
db_password: "pulp" | ||
trust: "TCu,Cu,Tuw" | ||
client_subject: "CN=client,O=pulp,ST=Alabama,C=US" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Alabama/North Carolina :)
- Added as a sub-task of pulp-certs role - Added handlers to restart all the services - Used `command:` module instead of openssl or certutil module - Used `blockinfile` to write config files relying on pre-existence of config files for qpid and pulp
@omaciel comments addressed. |
Thanks @rochacbruno please don't block on me :) |
@daviddavis @dkliban this PR is unblocked for review/merge :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @dkliban want to review and merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
command:
module instead of openssl or certutil moduleblockinfile
to write config files relying on pre-existenceof config files for qpid and pulp
Pending
Tested: