Possible to use a caddy grabbed cert for web socket on db server

Is there any reason I can’t use a cert that caddy grabbed for serving pages for the underlying websocket server of a database used by that site? both caddy and this db server are on the same machine so maybe as simple as telling db server where to find the cert file?

I answered my own question. The answer is yes which is convenient. look in .local/share/caddy to find the certs.


That’s right! In fact, Caddy can be used as a stand-alone certificate manager/renewer, without a web server:

Thanks for posting your findings.

1 Like

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