diff --git a/roles/certstore/files/certstore-2.1.2.202009.87fcacf-1.el7.x86_64.rpm b/roles/certstore/files/certstore-2.1.2.202009.87fcacf-1.el7.x86_64.rpm deleted file mode 100644 index efc9c2d..0000000 Binary files a/roles/certstore/files/certstore-2.1.2.202009.87fcacf-1.el7.x86_64.rpm and /dev/null differ diff --git a/roles/certstore/files/certstore-2.1.2.20200923.a36312c-1.el7.x86_64.rpm b/roles/certstore/files/certstore-2.1.2.20200923.a36312c-1.el7.x86_64.rpm new file mode 100644 index 0000000..3514d39 Binary files /dev/null and b/roles/certstore/files/certstore-2.1.2.20200923.a36312c-1.el7.x86_64.rpm differ diff --git a/roles/certstore/tasks/main.yml b/roles/certstore/tasks/main.yml index 2f444ee..7b6ac29 100644 --- a/roles/certstore/tasks/main.yml +++ b/roles/certstore/tasks/main.yml @@ -10,7 +10,7 @@ - name: install certstore yum: name: - - /tmp/ansible_deploy/certstore-2.1.2.202009.87fcacf-1.el7.x86_64.rpm + - /tmp/ansible_deploy/certstore-2.1.2.20200923.a36312c-1.el7.x86_64.rpm state: present - name: template certstore configure file diff --git a/roles/certstore/templates/cert_store.ini.j2 b/roles/certstore/templates/cert_store.ini.j2 index 0067391..1c5a3c9 100644 --- a/roles/certstore/templates/cert_store.ini.j2 +++ b/roles/certstore/templates/cert_store.ini.j2 @@ -1,9 +1,15 @@ [SYSTEM] #1:print on screen, 0:don't DEBUG_SWITCH = 1 -#10:DEBUG, 20:INFO, 30:FATAL -RUN_LOG_LEVEL = {{ certstore_log_level }} -RUN_LOG_PATH = ./logs +RUN_LOG_PATH = "conf/zlog.conf" + +[breakpad] +disable_coredump=0 +enable_breakpad=1 +breakpad_minidump_dir=/tmp/certstore/crashreport +enable_breakpad_upload=0 +breakpad_upload_url=http://127.0.0.1/ + [CONFIG] #Number of running threads thread-nu = 4 @@ -14,7 +20,8 @@ expire_after = 30 #Local default root certificate path local_debug = 1 ca_path = ./cert/tango-ca-v3-trust-ca.pem -untrusted_ca_path = ./cert/mesalab-ca-untrust.pem +untrusted_ca_path = ./cert/tango-ca-v3-untrust-ca.pem + [MAAT] #Configure the load mode, #0: using the configuration distribution network @@ -31,18 +38,21 @@ inc_cfg_dir=./rule/inc/index full_cfg_dir=./rule/full/index #Json file path when json schema is used pxy_obj_keyring=./conf/pxy_obj_keyring.json + [LIBEVENT] #Local monitor port number, default is 9991 port = 9991 + [CERTSTORE_REDIS] #The Redis server IP address and port number where the certificate is stored locally ip = 127.0.0.1 port = 6379 + [MAAT_REDIS] #Maat monitors the Redsi server IP address and port number ip = {{ maat_redis_server.address }} port = {{ maat_redis_server.port }} dbindex = {{ maat_redis_server.db }} [stat] -statsd_server=192.168.100.1 -statsd_port=8126 +statsd_server=127.0.0.1 +statsd_port=58100