refactor(vpn): split JWT identity and OpenVPN certificate lifecycle
OpenVPN Ansible / Ansible Syntax Check (push) Successful in 43s
OpenVPN Ansible / Ansible Lint (push) Successful in 1m8s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Successful in 3m32s
OpenVPN Ansible / Generate SBOM (push) Successful in 55s
OpenVPN Ansible / Scan SBOM with Trivy (push) Successful in 18s
OpenVPN Ansible / Ansible Syntax Check (push) Successful in 43s
OpenVPN Ansible / Ansible Lint (push) Successful in 1m8s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Successful in 3m32s
OpenVPN Ansible / Generate SBOM (push) Successful in 55s
OpenVPN Ansible / Scan SBOM with Trivy (push) Successful in 18s
- Add a dedicated role and workflow to generate VPN JWT identities and export public keys - Run identity preparation automatically for VPN nodes awaiting OpenBao registration - Gate OpenVPN and PKI setup until each node is registered - Split PKI setup into runtime, configuration, service, and initial certificate tasks - Restore TAP and bridge attachment after OpenVPN restarts - Remove bundled server certificate and private key
This commit is contained in:
@@ -15,24 +15,6 @@
|
||||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: Deploy server certificate
|
||||
ansible.builtin.copy:
|
||||
src: certs/server.crt
|
||||
dest: "{{ openvpn_cert_dir }}/server.crt"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
notify: Restart openvpn
|
||||
|
||||
- name: Deploy server private key
|
||||
ansible.builtin.copy:
|
||||
src: certs/server.key
|
||||
dest: "{{ openvpn_cert_dir }}/server.key"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0600"
|
||||
notify: Restart openvpn
|
||||
|
||||
- name: Deploy tls-crypt key
|
||||
ansible.builtin.copy:
|
||||
src: certs/tls-crypt.key
|
||||
|
||||
Reference in New Issue
Block a user