[Noob] How to configure HaProxy for multiple servers behind Pfsense with 1 IP with ACME
-
Hi everyone,
I have setup ACME and cert issued with standalone server from this tutorial
https://www.youtube.com/watch?v=5Frn96oADOU&t=1409sSo right now, I need to know how to merge the SSL configuration to allow me to
1, Specify test.example.com => 172.65.1.10
2. Specify test2.example.com => 172.65.1.11I hope I made myself clear but please let me know if more info is required.
Thanks guys!
-
You could :
Ask for a wild card cert for *.example.com & example.com" and place the obtained certificate on the two servers 172.65.1.11 and 172.65.1.10.
Or you can ask for two certs : a cert for the server test.example.com, to be put on server 172.65.1.10 and a cert for test2.example.com, to be put on 172.65.1.11.
Btw : certs are totally not aware of IP's and stuff like that.
If your server test2.example.com uses IP 192.168.1.10 as of now , the cert will still works just fine.