Replies: 2 comments
-
Yes, I got it to work. So basically what I did was I extracted the ldap binary and the openssl binary and all their config files from the docker container (Theoretically you could also build your own openssl binary with the FIPS flag enabled) and just insert all those files in their corresponding directory in a new LXC Container. Firstly you should follow the authentik tutorial to creating the LDAP outpost, application etc.
It's important that the fips provider is mentioned here. If fips is not mentioned here, even though you copied the files over, check which config openssl is using via "openssl version -d". If this doesn't correspond to the path of the ssl directory, you might want to add the following environment variables to your /etc/environment:
Now I'm thinking about how to automate this for the community so one doesn't always have to spin up the docker etc. once a new version is available. Any ideas? Edit: Added Openssl environment variables |
Beta Was this translation helpful? Give feedback.
-
I suggest we add the build commands to the installation and upgrade scripts: go build -o /go/ldap ./cmd/ldap
go build -o /go/rac ./cmd/rac We should also include systemd service files. [Unit]
Description=authentik LDAP outpost
[Service]
ExecStart=/go/ldap
Restart=always
RestartSec=5
Environment=GOFIPS=1
Environment=AUTHENTIK_LISTEN__LDAP=0.0.0.0:389
Environment=AUTHENTIK_LISTEN__LDAPS=0.0.0.0:636
Environment=AUTHENTIK_LISTEN__METRICS=0.0.0.0:9301 # Avoid binding to the same port
EnvironmentFile=/etc/authentik/ldap.env
[Install]
WantedBy=multi-user.target User can place required environment variable in We could also add a switch to allow users to choose whether or not to build them. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone successfully installed authentik and gotten additional outposts to work? I've tried both LDAP and radius and neither seem to respond. From what I can tell with my minimal knowledge of docker, it looks like it spools up a new pod per outpost.
Beta Was this translation helpful? Give feedback.
All reactions