Skip to content

Instantly share code, notes, and snippets.

@ppetpadriew
Last active March 17, 2019 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppetpadriew/8f4d826f10a97ae39982434fdb2f849e to your computer and use it in GitHub Desktop.
Save ppetpadriew/8f4d826f10a97ae39982434fdb2f849e to your computer and use it in GitHub Desktop.
  1. get certificates from certificate store
  2. create ca bundle
    • Combin your certificate and CA together. Chain them start from the leaf note up to the root node (CA).
    • Open your notepad.
    • Copy text from your .crt file and then paste in open note
    • Copy text from CA and then paste in open note next to the .crt text
    • Copy text from Root CA and then paste in open note next to ca text
  3. Upload 3 files: .crt, .private_key, .ca-bundle (You should get .private_key when your generate CSR to get the cerficate from the store. Probably in your email)
  4. Update ssl.config in /etc/httpd/conf.d
    • Change path of SSLCertificateFile point to .crt file, SSLCertificateKeyFile point to .private_key file, SSLCACertificateFile point to .ca-bundle file
  5. Restart apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment