Added libvirtd certificate templates
nova:
compute:
libvirt:
tls:
enabled: True
Related-Prod: PROD-19149
Change-Id: I4c4f61f88c106706963a6db5a1cab2a13096a492
diff --git a/salt/minion/cert/libvirtd/client.yml b/salt/minion/cert/libvirtd/client.yml
new file mode 100644
index 0000000..bf0ce83
--- /dev/null
+++ b/salt/minion/cert/libvirtd/client.yml
@@ -0,0 +1,21 @@
+parameters:
+ _param:
+ libvirtd_client_ssl_key_file: /etc/pki/libvirt/private/clientkey.pem
+ libvirtd_client_ssl_cert_file: /etc/pki/libvirt/clientcert.pem
+ salt:
+ minion:
+ cert:
+ libvirtd_client:
+ host: ${_param:salt_minion_ca_host}
+ authority: ${_param:salt_minion_ca_authority}
+ common_name: ${linux:system:name}.${_param:cluster_domain}
+ signing_policy: cert_client
+ alternative_names: >
+ IP:${_param:cluster_local_address},
+ DNS:${_param:cluster_local_address},
+ DNS:${linux:system:name},
+ DNS:${linux:network:fqdn}
+ key_usage: "digitalSignature,nonRepudiation,keyEncipherment"
+ key_file: ${_param:libvirtd_client_ssl_key_file}
+ cert_file: ${_param:libvirtd_client_ssl_cert_file}
+ ca_file: ${_param:libvirtd_ssl_ca_file}
\ No newline at end of file