Hi All,
while performing these steps using Powershell
I got the following error
PS C:\Users\admin> Export-Tpm2CACertificate -Tpm2EndorsementKey $tpm2 -FilePath C:\tmp\vc\36cacert.zip
Export-Tpm2CACertificate : 16.02.2022 15:42:03 Export-Tpm2CACertificate Invalid X509Certificate2 provided, its CA
issuer file couldnot be downloaded.
In Zeile:1 Zeichen:1
+ Export-Tpm2CACertificate -Tpm2EndorsementKey $tpm2 -FilePath C:\tmp\v ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Export-Tpm2CACertificate], VimException
+ FullyQualifiedErrorId : Security_WorkloadVMHostSettingServiceImpl_GetCACertificate_CertificateIssue,VMware.Vi
mAutomation.Security.Commands.Cmdlets.TrustedInfrastructure.ExportTpm2CACertificate
Did the previous steps in that procedure finish correctly?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello @LucD
I tried from a different machine with administrator@vsphere.local account and it went well
thanks