I need help on a project i'm working on for my job to configure MNET with an haproxy server in front of my servers.
My network is :
- haproxy configure with SSL terminaison, So it manages the HTTPS communication then pass the rest of the communication to the web servers in HTTP (configure with sslproxy = 1). The haproxy has a wildcard certificate for the domain so all the moodle shared it too.
so in example : *.example.com
I got 6 web servers to accept loadbalancing and failover with a shared memcached server for application datas. It working like a charm with 4 moodle installed.
so in example : moodle1.example.com, moodle2.example.com, moodle3.example.com and moodle4.example.com.
But now my MNET configuration is over and I would like to configure MNET for these 4 moodles.
When I connect to my moodles, MNET generating is own public key with these own informations. Then if i connect to another moodle to add a site, i got this error :
The public key you are holding for this host is different from the public key it is currently publishing
I think, when i ask to my first moodle to connect to the second, it asks the pub key generated by the MNET configuration but it's the public key of my haproxy who is received.
Someone knows how to use MNET on a shared network with multiple moodle ?
Thanks in adavance for all you help.
Have a nice week-end !