Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sjha4/771747596ae8c40788817ee0265411b4 to your computer and use it in GitHub Desktop.
Save sjha4/771747596ae8c40788817ee0265411b4 to your computer and use it in GitHub Desktop.
restore and restore smart proxy configs certs
rake -- config -k ssl_ca_file -v /etc/pki/katello/certs/katello-default-ca.crt
rake -- config -k ssl_certificate -v /etc/pki/katello/certs/$(hostname)-foreman-client.crt
rake -- config -k ssl_priv_key -v /etc/pki/katello/private/$(hostname)-foreman-client.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment