Article 5SFZ0 How can I use a LetsEncrypt cert from my webhost to apply to a subdomain that is only available locally?

How can I use a LetsEncrypt cert from my webhost to apply to a subdomain that is only available locally?

by
wh33t
from LinuxQuestions.org on (#5SFZ0)
Is this even possible?

So we've got domain and webhosting package that is secured with LetsEncrypt. And we've also got internal websites running on the LAMP stack that are only available to our local network. We have been using local host entries on our machines or the direct IP address of the server to access the local site.

I have set up a subdomain on our public domain (internal.domain.com) and that points to an internal IP address in our network (192.168.0.200), I have copied over the site.conf file so that it receives the request properly, this is working just fine, but even though it's probably unnecessary to secure the internal site with HTTPS I feel like I want it that way.

My experience with LetsEncrypt is minimal, but I have used their script wizard thing to set it up before, but never in this kind of situation. What would my internal subdomain.conf file need in it in order to use LetsEncrypt in this manner?

Can I somehow re-use the certificate on our public domain even though the IP addresses are way different? Or should I just get a new cert through LetsEncrypt for our local traffic?

Any suggestions or tips in the right direction mucho appreciated.latest?d=yIl2AUoC8zA latest?i=mk_3QrxGGJc:Zu9lJdoH3_Q:F7zBnMy latest?i=mk_3QrxGGJc:Zu9lJdoH3_Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=mk_3QrxGGJc:Zu9lJdoH3_Q:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments