Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
b6959875
Commit
b6959875
authored
Feb 27, 2024
by
Titouan Soulard
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/slapos-master: allow disabling CRL check (fixup)
parent
dc649be1
Pipeline
#33103
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
software/slapos-master/apache-backend.conf.in
software/slapos-master/apache-backend.conf.in
+1
-1
software/slapos-master/instance-balancer.cfg.in
software/slapos-master/instance-balancer.cfg.in
+1
-2
software/slapos-master/instance-erp5.cfg.in
software/slapos-master/instance-erp5.cfg.in
+1
-0
No files found.
software/slapos-master/apache-backend.conf.in
View file @
b6959875
...
...
@@ -168,7 +168,7 @@ Listen {{ ip }}:{{ port }}
# Custom block we use for now different parameters.
RequestHeader set Remote-User %{SSL_CLIENT_S_DN_CN}s
SSLCACertificateFile {{ parameter_dict['shared-ca-cert'] }}
{% if
parameter_dict['shared-crl']
-%}
{% if
'shared-crl' in parameter_dict
-%}
SSLCARevocationCheck chain
SSLCARevocationPath {{ parameter_dict['shared-crl'] }}
{% endif -%}
...
...
software/slapos-master/instance-balancer.cfg.in
View file @
b6959875
...
...
@@ -4,7 +4,6 @@
{% set ssl_parameter_dict = slapparameter_dict['ssl'] -%}
{% set frontend_caucase_url_list = ssl_parameter_dict.get('frontend-caucase-url-list', []) -%}
{% set shared_ca_path = slapparameter_dict.get('shared-certificate-authority-path') -%}
{% set check_crl = slapparameter_dict.get('check-crl', True) -%}
{#
XXX: This template only supports exactly one IPv4 and (if ipv6 is used) one IPv6
per partition. No more (undefined result), no less (IndexError).
...
...
@@ -175,7 +174,7 @@ crl = ${apache-conf-ssl:crl}
{% if shared_ca_path -%}
shared-ca-cert = {{ shared_ca_path }}/cacert.pem
{% if
check_crl
-%}
{% if
slapparameter_dict.get('check-crl')
-%}
shared-crl = {{ shared_ca_path }}/crl
{%- endif %}
{%- endif %}
...
...
software/slapos-master/instance-erp5.cfg.in
View file @
b6959875
...
...
@@ -448,6 +448,7 @@ config-monitor-passwd = ${monitor-htpasswd:passwd}
config-ssl = {{ dumps(balancer_dict['ssl']) }}
config-name = ${:name}
config-shared-certificate-authority-path = ${directory:ca-dir}
config-check-crl = {{ dumps(slapparameter_dict.get('check-crl', True)) }}
config-backend-path-dict = {{ dumps(zope_backend_path_dict) }}
config-ssl-authentication-dict = {{ dumps(ssl_authentication_dict) }}
config-apachedex-promise-threshold = {{ dumps(monitor_dict.get('apachedex-promise-threshold', 70)) }}
...
...
Titouan Soulard
@tsoulard
mentioned in commit
d33d2ec3
·
Feb 29, 2024
mentioned in commit
d33d2ec3
mentioned in commit d33d2ec3c6d0103fe23f48bebddcd6acb31ef315
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment