I have some kind of staging and local develpment setup, where specific subdomains point to different servers. So I’d like to use one wildcard-certificate for *.domain.com on both servers.
is on the Google Cloud Computing engine and serves all *.example.com requests. So https://project1.example.com work fine and the certificate is valid.
is on my local computer (which has a dynamic public IP). So I’ve set up a DDNS, with an A-record, which points all *.office.example.com requests to my public IP.
I’ve set up my routers port forwarding from 4000 -> 192.168.1.50:443
So requests to https://project1.office.example.com:4000 are served correctly as it’s supposed to be, except that I get an invalide certificate error.
Though I use the same certificates on Server-B as I use on Server-A.
Is it even possible to use Let’s Encrypt in that way?