How do I install a purchased SSL certificate?

AI-generated summary

In a support thread titled ‘How do I install a purchased SSL certificate?’, Brad_Kelly asks how to upload a purchased SSL certificate and private key to Discourse, specifically to /var/discourse/shared/standalone/ssl/ as ssl.crt and ssl.key. itsbhanusharma clarifies there’s no built-in upload utility and recommends using tools like WinSCP or FileZilla to transfer and rename the files. pfaffman suggests using ./discourse-setup to automatically obtain a free, renewable Let’s Encrypt certificate instead. Brad_Kelly replies that he already purchased a certificate from Uniregistry and wants to configure it manually. pfaffman responds that while manual transfer via scp is possible, it requires re-uploading on renewal — contrasting it with the convenience of Let’s Encrypt’s automatic renewal. The thread highlights the choice between manual SSL installation and automated free certificates.

Hi People,

A quick question.
the following discourse thread mentions


Get a signed cert and key and place them in the /var/discourse/shared/standalone/ssl/ folder

Private key is:
/var/discourse/shared/standalone/ssl/ssl.key

Cert is
/var/discourse/shared/standalone/ssl/ssl.crt


What exactly it means, how to upload the cert and key ??? is there any upload utility ?? Please help me solve this situation§

There is no upload utility in particular.

You can use winSCP or Filezilla to transfer your certificate & key to your server.

Rename the files as ssl.crt and ssl.key

If you run

./discourse-setup

it will prompt you for an email address and give you a free cert from Let’s Encrypt. That’s probably what you want to do.

I already purchased SSL from uniregitry and now learning how to configure it for discourse forum

You can Google scp YOUR_OS and try to figure out how to move the files and have to do it again every time the certificate expires, or run one command that will give you a free certificate forever.