mirror of
https://github.com/trailofbits/algo
synced 2024-11-12 01:10:35 +00:00
Disable the Signature Algorithm check and add default vars. Fixes #525
This commit is contained in:
parent
27f9cda361
commit
0031d2809e
@ -18,6 +18,7 @@
|
|||||||
become: true
|
become: true
|
||||||
vars_files:
|
vars_files:
|
||||||
- config.cfg
|
- config.cfg
|
||||||
|
- roles/vpn/defaults/main.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Get the OS
|
- name: Get the OS
|
||||||
|
@ -4,19 +4,6 @@
|
|||||||
- name: Include system based facts and tasks
|
- name: Include system based facts and tasks
|
||||||
include: systems/main.yml
|
include: systems/main.yml
|
||||||
|
|
||||||
- name: Checking the signature algorithm
|
|
||||||
local_action: >
|
|
||||||
shell openssl x509 -text -in certs/{{ IP_subject_alt_name }}.crt | grep 'Signature Algorithm' | head -n1
|
|
||||||
become: no
|
|
||||||
register: sig_algo
|
|
||||||
args:
|
|
||||||
chdir: "configs/{{ IP_subject_alt_name }}/pki/"
|
|
||||||
|
|
||||||
- name: Change the algorithm to RSA
|
|
||||||
set_fact:
|
|
||||||
Win10_Enabled: "Y"
|
|
||||||
when: '"ecdsa" not in sig_algo.stdout'
|
|
||||||
|
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
package: name="{{ item }}" state=present
|
package: name="{{ item }}" state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
Loading…
Reference in New Issue
Block a user