Can I use it in a virtual machine?

In Ubuntu Virtual machine, I do not have domain name only LAN IP, how can I use my own cert ?

Yes, you can use it in a VM, and you can configure Caddy with your own cert and key with the tls directive:

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