5069751256
This patch add support for configuring proteccio to use more than one HSM. When more than one HSM is provided the proteccio client is configured for High Availability (HA). This patch changes the format of the variables and should be released as a new major version. (e.g. 1.0.0). Change-Id: Ib9989ee72a67f71275e31b966bff7673072fb3f8
18 lines
312 B
Django/Jinja
18 lines
312 B
Django/Jinja
{% for item in atos_hsms %}
|
|
[PROTECCIO]
|
|
IPaddr={{ item.ip }}
|
|
SSL=1
|
|
SrvCert={{ item.ip | replace('.', '_') }}.CRT
|
|
|
|
{% endfor %}
|
|
[CLIENT]
|
|
{% if atos_hsms|length > 1 %}
|
|
Mode=2
|
|
{% else %}
|
|
Mode=0
|
|
{% endif %}
|
|
LoggingLevel=7
|
|
LogFile=/var/log/barbican/atos.log
|
|
ClntKey=proteccio_client.key
|
|
ClntCert=proteccio_client.crt
|