explain what you are trying to do
I’m trying to use my wildcard cert with Caddy, installed with Snap.
show what you have already tried,
I have installed Rocket Chat via Snap and Caddy via Snap.
I followed the directions from Auto SSL with Snaps - Rocket.Chat Docs and now just need to apply my certs. I have the cert download from my provider and the key was exported from a windows server.
include error messages and log output,
I’m not sure what location to place the certs and how to configure to work with HTTPS
Put them anywhere on your file system that is secure.
Refer to that location when you declare your cert and key with the tls directive.
Don’t forget to set your ports and HTTP->S upgrade redirection explicitly; bringing your own keys disables Automatic HTTPS, which usually takes care of this for you.
Thank you for the help. I’m pretty new to this, do you know what I would use for the tls command? Also, does it matter what the cert format is? .pem .cer, etc.?
Since you are providing your own cert, the site will be served over HTTPS on port 2015 by default instead.
If you want to change that so Caddy serves HTTP on port 80 and HTTPS on port 443, you’ll need to specify the scheme/port. You can do that in the site label:
Thank you again for all the information but after a lot of time spent trying to figure it out, I just decided to go with Nginx. Do you know how I can uninstall/completely remove Caddy?