Red Hat Training

A Red Hat training course is available for Red Hat JBoss Web Server

12.2.4. Configure mod_auth_kerb

Use the following procedure to configure mod_auth_kerb. As a prerequisite, ensure that the Kerberos Client is configured (see Section 12.2.3, “Configure the Kerberos Client”).

Procedure 12.2. Configure mod_auth_kerb

  • Create the auth_kerb.conf configuration file in the /etc/httpd/conf.d/ folder and add the following information to the file:
    #
    # The mod_auth_kerb module implements Kerberos authentication over
    # HTTP, following the "Negotiate" protocol.
    # 
    
    LoadModule auth_kerb_module modules/mod_auth_kerb.so
    
    <Location /kerberostest>
    #  SSLRequireSSL
      AuthType Kerberos
      AuthName "Kerberos Login"
      KrbMethodNegotiate On
      KrbMethodK5Passwd Off
      KrbAuthRealms EXAMPLE.COM
      KrbServiceName HTTP
      Krb5KeyTab /etc/httpd/krb5.keytab
      require valid-user
    </Location>