forum
Forum / Discourse
Section titled “Forum / Discourse”Replacement
Section titled “Replacement”- Obtain the new certificate from SSLMate.
- ssh to
forum.gitlab.com
- Create backup of the certificate (replacing 2019 with whatever year the old certificate started in)
sudo cp /var/discourse/shared/standalone/ssl/ssl.crt{,.2019}
- Copy the new certificate to the server as
/var/discourse/shared/standalone/ssl/ssl.crt
and change the permissions to544
and owner toroot:root
sudo restart app
to restart discourse- Done!
Rollback of a replacement
Section titled “Rollback of a replacement”Sometimes stuff goes wrong. Good thing we made a backup! :)
- Move the new certificate in a safe place
- Restore the old certificate by renaming or copying it back.
sudo restart app
- Done!