Right now I'm using self-signed HTTPS certificates for local development and Letsencrypt certificates in production. Is it possible to use Letsencrypt certificates for local development as well? For domains like local.mydomain.com?
I think it's not possible because my local website is not publicly accessible from the outside and therefore Letsencrypt cannot do ACME challenge.
So is there a way to get Letsencrypt certificates locally, or it's not intended to work like that and I should stick with self-signed certificates?