SSL certificates are generated automatically as part of a Discourse install, and are also renewed automatically.
I think in this case something has gone awry with the rebuild/bootstrap (Wes unfortunately has issues every 3 months when the certificate is due to be renewed).