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

Certs module cleanup #3

Merged
merged 9 commits into from Jan 17, 2014
Merged

Conversation

iNecas
Copy link
Member

@iNecas iNecas commented Jan 14, 2014

  • Use custom providers for certs generation instead of exec katello-ssl-tool
  • Move the certs bits from other modules: every service has dedicated pp file with all things specific the the service
  • Httpd doesn't use candlepin-ca as ssl cert, instead ca generates new ssl cert to be used. Thanks to chaining, the verification from clients should still work without issues (the approach already tested previously with nodes)
  • Foreman uses certs originate in candlepin-ca instead of puppetca certs (as it already did with nodes)

@@ -33,7 +34,7 @@ def self.details(cert_name)
def self.pubkey(name)
# TODO: just temporarily until we have this changes in katello installer as well
if name == 'candlepin-ca'
'/usr/share/katello/candlepin-cert.crt'
'/usr/share/katello/candlepin-ca.crt'
Copy link
Member

Choose a reason for hiding this comment

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

Katello is no longer installed in /usr/share/katello due to being a gem. I think we need to figure out a new home for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, I think we don't need to have it in /usr/share/katello and use standard /etc/pki/tls/certs, we need to update https://github.com/Katello/katello-misc/blob/master/certs-tools/certs/katello_ssl_tool.py#L569,

I would like to address that after the basic is merged.

Causes various troubles across the tools.
@ehelms
Copy link
Member

ehelms commented Jan 17, 2014

ACK, merging to open branch against master

ehelms added a commit that referenced this pull request Jan 17, 2014
@ehelms ehelms merged commit 1162bdd into theforeman:parameterize Jan 17, 2014
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

2 participants