Categories
Apache Encryption IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Webserver

Apache SAML authentication with mod_shib (part 2)

There Multiple SPs on same apache vhost By default the helper scripts mentioned above use some default values like file names and local hostname. So in case you need multiple SPs within a single apache web service, we’ll need to generate key pairs and metadata for each of them and use more specific settings for […]

Categories
Apache Linux SAML Shibboleth SingleSignOn SSO Webserver

Migrate apache2 mod_auth_mellon to mod_shib

I once started protecting web sites using mod_auth_mellon. Back then it seemed much easier to implement it that way, however shibboleth / mod_shib is the default implementation and therefore seems to be the better choice on the long run. For a basic introduction have a look here. Existing mellon config In this example we’ll change […]

Categories
Container Docker Encryption Linux Network Proxy Virtualization Webserver

Setting up a docker registry proxy

Docker hub recently announced an upcoming request limit to their registry. So in order to reduce the amount of requests issued there, the idea of a caching proxy solution comes to mind. Possible solutions Fortunately there are some projects already working on that problem. However there are different approaches. Some of the projects I found […]

Categories
Apache Encryption IdP Keycloak Linux SAML Shibboleth SingleSignOn SSO Webserver

Apache SAML authentication with mod_shib

Till now I was mainly using mod_auth_mellon in order to do SAML-based authentication for web services. I did so because it seemed quite easy to configure (and the Ubuntu mod_shib package had a nasty bug some years ago when I made first contact with SAML). However mod_shib (part of the shibboleth service provider (SP) implenetation) […]

Categories
Apache IdP Keycloak Shibboleth SingleSignOn SSO Webserver

Apache SAML SSO using mellon (example: open-webui)

This short post is about how to run the open-webui docker container with an apache based reversed proxy (handling the SSL termination and authentication with mod-auth-mellon). In the following example the open-webui docker container is listening on localhost only, port 8009 (s. variable definition at the beginning of the apache2 config): In order to use […]

Categories
Apache Directory Service LDAP Webserver

Apache authentication with Active Directory (no proxy account required)

While playing around with Apache web server authentication I was wondering: Is it possible to authenticate Apache against LDAP without requiring a proxy account to do the queries? At first glance this seems to require an LDAP server that allows anonymous bind and read access, however there’s another way: If a regular user (of the […]