The SSL generated by discourse is issued by letsencrypt and it is pretty safe.
However if You want to set up your own ssl.certificate, follow these instructions: