-
Notifications
You must be signed in to change notification settings - Fork 129
SSL
Eric Carmichael edited this page Feb 6, 2020
·
5 revisions
Place your certs in the certs/
folder and specify them in your .env
, i.e. if you put a cert named localhost
into your certs
folder you'd change .env
to:
SSL_CERTIFICATE=/app/certs/localhost.crt
SSL_CERTIFICATE_KEY=/app/certs/localhost.key
Change your RabbitMQ ports to the SSL versions which are 5671
and 15671
:
BROKER_URL=pyamqp://rabbit_username:rabbit_password@rabbit:5671//
BROKER_USE_SSL=True
RABBITMQ_PORT=5671
RABBITMQ_MANAGEMENT_PORT=15671
Make sure you have ports 80
and 443
open on the machine.
A quick note on Godaddy certs, you will need your private key along with the Godaddy certificates to complete the SSL handshake. This is a helpful reminder if you used this private key many years ago and forget it is needed!
Merge together new_cert_root.crt
and the_bundle_certs.crt
together, like so:
<new_cert_root>
<the_bundle_certs>
Into some new file new_cert.crt
and reference that