Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (19 loc) · 558 Bytes

SSL.md

File metadata and controls

20 lines (19 loc) · 558 Bytes

Prepare ssl chains

  • Get next files from your SSL service
  • ssl.csr (Certificate signing request)
  • ssl.key (Private key)
  • ssl.crt (Public cert)
  • intermediateCA.crt ( several CA cert for authority chain )
  • Create pem file for mongo
cat ssl.key ssl.crt > ssl.pem
  • Create CA pem file in proper order from intermediateCALocal -> intermediateCAMain -> rootCA Example:
cat intermediateCALocal.crt intermediateCAMain.crt rootCA.crt > ca.pem
  • Add CA certificates to ssl-bundle.pem
cat ssl.crt ca.pem > ssl-bundle.pem