Skip to content

Commit

Permalink
Merge pull request #11113 from Security-Onion-Solutions/2.4/rec-certs…
Browse files Browse the repository at this point in the history
…-fix

Fix certs for Rec & Heavy
  • Loading branch information
defensivedepth authored Aug 21, 2023
2 parents e77e5c3 + 6784bdc commit 5b453ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions salt/ssl/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ etc_elasticfleet_logstash_key:
- new: True
{% if salt['file.file_exists']('/etc/pki/elasticfleet-logstash.key') -%}
- prereq:
- x509: etc_elasticfleet_crt
- x509: etc_elasticfleet_logstash_crt
{%- endif %}
- retry:
attempts: 5
Expand Down Expand Up @@ -259,7 +259,7 @@ etc_elasticfleetlumberjack_key:
- new: True
{% if salt['file.file_exists']('/etc/pki/elasticfleet-lumberjack.key') -%}
- prereq:
- x509: etc_elasticfleet_crt
- x509: etc_elasticfleetlumberjack_crt
{%- endif %}
- retry:
attempts: 5
Expand All @@ -283,7 +283,7 @@ etc_elasticfleetlumberjack_crt:
cmd.run:
- name: "/usr/bin/openssl pkcs8 -in /etc/pki/elasticfleet-lumberjack.key -topk8 -out /etc/pki/elasticfleet-lumberjack.p8 -nocrypt"
- onchanges:
- x509: etc_elasticfleet_key
- x509: etc_elasticfleetlumberjack_key
eflogstashlumberjackperms:
file.managed:
Expand Down Expand Up @@ -327,7 +327,7 @@ etc_elasticfleet_agent_key:
- new: True
{% if salt['file.file_exists']('/etc/pki/elasticfleet-agent.key') -%}
- prereq:
- x509: etc_elasticfleet_crt
- x509: etc_elasticfleet_agent_crt
{%- endif %}
- retry:
attempts: 5
Expand All @@ -350,7 +350,7 @@ etc_elasticfleet_agent_crt:
cmd.run:
- name: "/usr/bin/openssl pkcs8 -in /etc/pki/elasticfleet-agent.key -topk8 -out /etc/pki/elasticfleet-agent.p8 -nocrypt"
- onchanges:
- x509: etc_elasticfleet_key
- x509: etc_elasticfleet_agent_key
efagentperms:
file.managed:
Expand Down

0 comments on commit 5b453ca

Please sign in to comment.