Using module "tls.certificates.load_pem" in Caddyfile

Hi, I’m new to caddy and have a quick question. I was looking to use the “tls.certificates.load_pem” module and was wondering if it can be used from within the “Cadyfile” or does it only work with JSON config files ?

1 Like

You’re looking for the tls directive, I think. You can specify a cert and key to use:

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.