mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
* relax CA constraints for client (the client equivalent of PR #1675) * fixing incorrectly hard-coded output file path
This commit is contained in:
parent
c231cd42d6
commit
4f1b9270be
2 changed files with 13 additions and 0 deletions
5
roles/client/files/libstrongswan-relax-constraints.conf
Normal file
5
roles/client/files/libstrongswan-relax-constraints.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
libstrongswan {
|
||||
x509 {
|
||||
enforce_critical = no
|
||||
}
|
||||
}
|
|
@ -53,6 +53,14 @@
|
|||
notify:
|
||||
- restart strongswan
|
||||
|
||||
- name: Configure libstrongswan to relax CA constraints
|
||||
copy:
|
||||
src: libstrongswan-relax-constraints.conf
|
||||
dest: "{{ configs_prefix }}/strongswan.d/relax-ca-constraints.conf"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Setup the certificates and keys
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue