diff --git a/roles/koji_hub/templates/kojihub.conf.j2 b/roles/koji_hub/templates/kojihub.conf.j2 index 86b829e324..144574c1e9 100644 --- a/roles/koji_hub/templates/kojihub.conf.j2 +++ b/roles/koji_hub/templates/kojihub.conf.j2 @@ -24,39 +24,13 @@ Alias /kojifiles "/mnt/koji/" {% endif %} -{% if env == "production" %} -SSLVerifyClient optional -{% endif %} -{% if env == "production" %} - SSLVerifyClient require - SSLVerifyDepth 10 - SSLOptions +StdEnvVars - - # This complicated ACL stuff is to support both SSL and kerb auth at the same time - # To be killed on December 12th, 2016, after which "Require valid-user" remains - #SetEnvIfExpr "%{SSL_CLIENT_S_DN_O} == 'Fedora Project'" cert_s_o_valid - #SetEnvIfExpr "%{SSL_CLIENT_S_DN_OU} == 'Fedora User Cert'" cert_s_ou_valid - #SetEnvIfExpr "%{SSL_CLIENT_I_DN_O} == 'Fedora Project'" cert_i_o_valid - #SetEnvIfExpr "%{SSL_CLIENT_I_DN_OU} == 'Fedora Project CA'" cert_i_ou_valid - # - # - # Require env cert_s_o_valid - # Require env cert_s_ou_valid - # Require env cert_i_o_valid - # Require env cert_i_ou_valid - # - # Require valid-user - # - -{% else %} AuthType GSSAPI GssapiSSLonly On GssapiLocalName On AuthName "GSSAPI Single Sign On Login" GssapiCredStore keytab:/etc/koji-hub-http.keytab Require valid-user -{% endif %} # uncomment this to enable authentication via SSL client certificates