Skip to content
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

Use https container #1283

Closed
wants to merge 1 commit into from
Closed

Use https container #1283

wants to merge 1 commit into from

Conversation

fao89
Copy link
Member

@fao89 fao89 commented Apr 27, 2021

[noissue]

Please be sure you have read our documentation on creating PRs:
https://docs.pulpproject.org/contributing/pull-request-walkthrough.html

@pulpbot
Copy link
Member

pulpbot commented Apr 27, 2021

WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue.

@fao89 fao89 force-pushed the https_container branch 19 times, most recently from c382ebe to 6050a8c Compare April 28, 2021 22:20
@@ -91,6 +91,13 @@ fi
ansible-playbook build_container.yaml
ansible-playbook start_container.yaml

# Hack: adding pulp CA to certifi.where()
sudo docker cp pulp:/etc/pulp/certs/ca.crt /usr/local/share/ca-certificates/pulp_ca.crt
CERT=$(python -c 'import certifi; print(certifi.where())')
Copy link
Member Author

Choose a reason for hiding this comment

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

This is Mozilla CA bundle, and I'm appending pulp CA to it

@@ -79,6 +81,7 @@ if [[ "$TEST" = 'bindings' || "$TEST" = 'publish' ]]; then
gem build pulp_file_client
gem install --both ./pulp_file_client-0.gem
cd ..
export SSL_CERT_FILE=/usr/local/share/ca-certificates/pulp_ca.crt
Copy link
Member Author

Choose a reason for hiding this comment

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

but Ruby doesn't use certifi lib, so I had to use an OpenSSL env var to point to the CA

@fao89 fao89 force-pushed the https_container branch 3 times, most recently from 72c5746 to b9a2c95 Compare May 6, 2021 19:48
@fao89
Copy link
Member Author

fao89 commented Jun 3, 2021

Blocked by pulp/pulp-oci-images#73 or pulp/pulp-oci-images#84

@fao89 fao89 closed this Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants