Lua scripts in HAProxy - help!
-
I'm attempting to install Authelia, hopefully leave ADFS behind, but it requires a few of Lua scripts which I found already but I keep getting a notice they aren't there.
I don't know if Im putting in the wrong names or if I actually have to put the config the will call them:
lua-load <path>
, or if it there is really missing one like it says in the warning.But, errors appears as soon as I add scripts despite not having adding any config in the global or frontend sections, it suggests pfSense's implementation of HAProxy calls them automatically, and very confusing/contradictory.
When I'm snooping around dev circles, Python, Perl, Ruby, Java ()… are names I see thrown around more often, all the Cs with older bigger systems, but Lua…nope, only next to HAProxy. I don't suppose it really comes with pfSense as that other docu says, does it??
I took a few screenshots of the errors:
Is the JSON Lua library in pfSense for real?
Thanks
-
Did you ever get authelia to work with pfsense/haproxy? I'm looking into it now, and I'm finding the documentation to be sparse
-
@lgwapnitsky No, I moved to a dedicated host for HAProxy and just about to deploy I realized it doesn't have that robust of support for directory accounts. I use Active Directory.
Also, since I asked pfSense 2.5 is came out and it's got a ton of new stuff: it now has the current (or very close to current) HAProxy, supports TLS1.3. I'll try again and come back if I'm successful, good luck to you too! :)
________
PS: If you're open to alternatives for authentication, take a look at Keycloak from (backed by) Red Hat. It does federation, clustering, it provides many clients (to integrate with). OpenID Connect, OpenID, LDAPS, SAML, hardwarekeys/tokens, socials, SMS, you name it, it does it all and it doesn't even need installation, you just run the WildFly (or Tomcat/JBoss/etc..) servlet. Just charge an iPad or 'cause you'll be doing plenty or reading. It's not hard though. :)