Setup custom SSL cert with caddy

How do i configure the caddy file to listen on a custom SSL port with a real SSL cert? I have the cert, i just cant figure out the correct config for Caddy…

I am in a similar situation. Although I configure the Caddyfile by adding below the url of my rocketchat installation this:

tls cert_path key_path

Caddy still uses the Let’s Encrypt Certificate instead of the CA one that I have provided.

Anyone having a solution on the topic?