vcf_vim_host_ssl_thumbprint

Execution module for ESXi SSL thumbprint fetch/validate.

saltext.vcf.modules.vcf_vim_host_ssl_thumbprint.fetch(hostname, port=443, timeout=10)[source]

Open a raw TLS connection to hostname:port and return the SHA-1 thumbprint.

CLI Example:

salt '*' vcf_vim_host_ssl_thumbprint.fetch <hostname>
saltext.vcf.modules.vcf_vim_host_ssl_thumbprint.current(host, profile=None)[source]

Return the thumbprint vCenter has cached for host.

CLI Example:

salt '*' vcf_vim_host_ssl_thumbprint.current <host>
saltext.vcf.modules.vcf_vim_host_ssl_thumbprint.validate(host, profile=None)[source]

Compare the host’s live thumbprint with the one vCenter knows about.

CLI Example:

salt '*' vcf_vim_host_ssl_thumbprint.validate <host>