Receiving error regarding certificate not being able to load

I’m for the first time trying to install discourse for a local community, and it just refuses to work. It’s probably dumb, but i can’t get the error to go away.

This is what it’s saying:
nginx: [emerg] cannot load certificate "/shared/ssl/bogoe.discourse.diy.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0480006C:PEM routines::no start line:Expecting: TRUSTED CERTIFICATE)

It repeats that and doesn’t stop. As of writing this, i have stopped the docker container, and is waiting for an answer. Thank you so much for your help!