vcf_vim_host_certificate¶
Execution module for ESXi host SSL certificate management.
- saltext.vcf.modules.vcf_vim_host_certificate.info(host, profile=None)[source]¶
Return host cert info: issuer/subject/not_before/not_after/pem.
CLI Example:
salt '*' vcf_vim_host_certificate.info <host>
- saltext.vcf.modules.vcf_vim_host_certificate.generate_csr(host, useip=True, profile=None)[source]¶
Generate a CSR for host. Returns PEM-encoded CSR.
CLI Example:
salt '*' vcf_vim_host_certificate.generate_csr <host>
- saltext.vcf.modules.vcf_vim_host_certificate.install_cert(host, cert_pem, profile=None)[source]¶
Install a signed cert PEM on host.
CLI Example:
salt '*' vcf_vim_host_certificate.install_cert <host> <cert_pem>