Manage pki infrastructure with caddy v2?

Hi,
I read about the feature to manage own pki infrastructure with caddy?
Is there an example how that works and could be used?
Would it possible to replace for example easy_rsa scripts to maintain for example openvpn certificates with a caddy v2?

I think this should explain:

Hi @francislavoie,

thanks! Maybe the link I found in the past and searched for . So I should use json config instead of caddyfile for that use case.

Yeah the Caddyfile is geared towards the HTTP usecase. There’s room for other kinds of config adapters to exist to make these kinds of usecases easier, but using JSON (or some other JSON-like adapter like yml or whatever) will give you more control.