Disable SSL auth for stg distgit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
df82d3ead9
commit
714fc09d7a
1 changed files with 6 additions and 0 deletions
|
@ -50,15 +50,18 @@ SSLCryptoDevice builtin
|
|||
|
||||
Options +ExecCGI
|
||||
|
||||
{% if env == "production" %}
|
||||
SSLVerifyClient optional
|
||||
SSLVerifyDepth 1
|
||||
SSLOptions +StrictRequire +StdEnvVars +OptRenegotiate
|
||||
{% endif %}
|
||||
|
||||
AuthType GSSAPI
|
||||
GssapiSSLonly On
|
||||
AuthName "GSSAPI Single Sign On Login"
|
||||
GssapiCredStore keytab:/etc/httpd.keytab
|
||||
|
||||
{% if env == "production" %}
|
||||
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
|
||||
|
@ -73,6 +76,9 @@ SSLCryptoDevice builtin
|
|||
</RequireAll>
|
||||
Require valid-user
|
||||
</RequireAny>
|
||||
{% else %}
|
||||
Require valid-user
|
||||
{% endif %}
|
||||
</Location>
|
||||
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue