Discourse not working after installation

You have misconfigured your certificate. I recommend that you use Let’s encrypt instead. Stop the container. Delete your app.yml and run discourse-setup again and provide an email address for let’s encrypt.