Update SSL Certificates for Myst
Certificate expired or setting up Myst for the first time?
Assumptions
you have already created a public and private certificate
new certificates are in
/tmp/cert.crt
and/tmp/cert.key
(otherwise change commands as required)myst installation home is in
/opt/myst-studio
(otherwise change commands as required)
Update SSL Certificates in Apache
Myst uses Apache NGINX as its frontend. First we will update the certificate directly in NGINX.
Update SSL Certificates for Docker Compose
Myst uses Docker Compose for configuration and can recreate containers. Adding the certificate to the compose configuration means on recreation the certificates will be updated too.
And you're done!
Rollback
If for any reason you want to rollback to the older certificates you can use the backup files you created.
Last updated