Skip to content
Snippets Groups Projects
buildServerCert.yml 416 B
Newer Older
Shahaan Ayyub's avatar
Shahaan Ayyub committed
  args: 
    creates: "/etc/easy-rsa/2.0/keys/{{ ansible_fqdn }}.crt"
  name: "Creating Server certificate"
  shell: " cd /etc/easy-rsa/2.0; source ./vars; export EASY_RSA=\"${EASY_RSA:-.}\"; \"$EASY_RSA/pkitool\"  --server {{ ansible_fqdn }}"
Shahaan Ayyub's avatar
Shahaan Ayyub committed
  args: 
    creates: /etc/easy-rsa/2.0/keys/dh512.pem
  name: "Generating Diffie-Hellman Parameters"
  shell: "cd /etc/easy-rsa/2.0; source ./vars; ./build-dh"