I cannot find any samples in the repo using CA file, most of them use 'disableSslCertValidation'. Can anyone kindly tell me how to specify a CA for HTTPS to connect ESXi or vCenter?
I tried some params of SmartConnect such as 'certFile', 'keyFile', 'sslContext', but they seems not work well, and the traceback shew that the CA was invalid.
Hello,
I cannot find any samples in the repo using CA file, most of them use 'disableSslCertValidation'. Can anyone kindly tell me how to specify a CA for HTTPS to connect ESXi or vCenter? I tried some params of SmartConnect such as 'certFile', 'keyFile', 'sslContext', but they seems not work well, and the traceback shew that the CA was invalid.