Commit 60a52368 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! component/apache: check ca-cert-dir existence in case of force client authentication.

parent d1dfde38
...@@ -166,7 +166,7 @@ Listen {{ ip }}:{{ port }} ...@@ -166,7 +166,7 @@ Listen {{ ip }}:{{ port }}
<VirtualHost *:{{ port }}> <VirtualHost *:{{ port }}>
SSLEngine on SSLEngine on
{% if enable_authentication -%} {% if enable_authentication -%}
{% do assert(ca_cert_dir) -%} {{ assert(ca_cert_dir) -}}
SSLVerifyClient require SSLVerifyClient require
LogFormat "%h %l %{REMOTE_USER}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined LogFormat "%h %l %{REMOTE_USER}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined
...@@ -186,7 +186,7 @@ Listen {{ ip }}:{{ port }} ...@@ -186,7 +186,7 @@ Listen {{ ip }}:{{ port }}
SSLEngine on SSLEngine on
Timeout 3600 Timeout 3600
{% if enable_authentication -%} {% if enable_authentication -%}
{% do assert(ca_cert_dir) -%} {{ assert(ca_cert_dir) -}}
SSLVerifyClient require SSLVerifyClient require
LogFormat "%h %l %{REMOTE_USER}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined LogFormat "%h %l %{REMOTE_USER}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" combined
......
...@@ -14,5 +14,5 @@ ...@@ -14,5 +14,5 @@
# not need these here). # not need these here).
[template-apache-backend-conf] [template-apache-backend-conf]
filename = apache-backend.conf.in filename = apache-backend.conf.in
md5sum = 5c6d6aacc092b23a02e1c6f4d51e8127 md5sum = ace264843228af84d025797f520ce70f
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment