mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-17 14:33:11 +01:00
cert work
This commit is contained in:
@@ -36,7 +36,10 @@ include:
|
|||||||
{% set ca_server = global_ca_server[0] %}
|
{% set ca_server = global_ca_server[0] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
cacertdir:
|
||||||
|
file.directory:
|
||||||
|
- name: /etc/pki/tls/certs
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
# Trust the CA
|
# Trust the CA
|
||||||
trusttheca:
|
trusttheca:
|
||||||
@@ -44,6 +47,13 @@ trusttheca:
|
|||||||
- name: /etc/pki/tls/certs/intca.crt
|
- name: /etc/pki/tls/certs/intca.crt
|
||||||
- text: {{ trusttheca_text }}
|
- text: {{ trusttheca_text }}
|
||||||
|
|
||||||
|
{% if GLOBALS.os_family == 'Debian' %}
|
||||||
|
symlinkca:
|
||||||
|
file.symlink:
|
||||||
|
- source: /etc/pki/tls/certs/intca.crt
|
||||||
|
- name: /etc/ssl/certs/intca.crt
|
||||||
|
{% end %}
|
||||||
|
|
||||||
# Install packages needed for the sensor
|
# Install packages needed for the sensor
|
||||||
m2cryptopkgs:
|
m2cryptopkgs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
|
|||||||
Reference in New Issue
Block a user