Can't get certificate using haproxy on local network, but can get a certificate if I am using external network
-
As the post says, i Followed Lawrence Systems video on setting up a reverse proxy multiple times, but when i tried to make a internal dns to my truenas, it keeps not being certified, its instead keeps showing ixsystems as and local instead of *.mydomain.com, i am not sure what to do, i tried ticking off different checkmarks but still the same problem
for example i tried to do a local haproxy to my truenas and instead of i am getting this as in the images shows as well as my config
-
@terrorbyte704 said in Can't get certificate using haproxy on local network, but can get a certificate if I am using external network:
but when i tried to make a internal dns to my truenas
This bypasses HAproxy and directs the browser directly to the backend server.
If you want to use the certificate installed on pfSense and HAproxy point the local DNS to the IP, which the frontend is listening on.
If you use a public domain, there is no need for a DNS override anyway. -
@viragomann sorry i meant i setup a dns resolver, so i am able to go to the nas via dns, but it doens't get a dns, i turned off secure dns on my browers
-
@terrorbyte704 to anyone seeing this I was able to solve this problem by setting my dns resolver to my gateway instead of my server (in this case pfsense) i am not sure why i haven't seen anyone say this yet
-
@terrorbyte704
This is, what I was trying to tell you.