VMware Workstation

 View Only
  • 1.  VMCLI - add encryption for enabling TPM

    Posted 26 days ago

    Hi all

    My automation for building VM's with VMCLI is slowly going in the right direction, but I'm having trouble with figureing out how to add encryption to the .vmx, in order to allow a TPM module in the VM.

    How would I add encryption with code?



  • 2.  RE: VMCLI - add encryption for enabling TPM

    Posted 7 hours ago
    Edited by Soren Schimkat 6 hours ago

    Any method at all - for enabling encryption / TPM with some kind of command line tool? 

    These are the settings that needs to be automated, in case anyone was wondering what I'm blabbering about:

    vmx.encryptionType = "partial"
    vtpm.ekCSR = "MIIDbjCCAlYCAQAwSDEWMBQGBWeBBQIBDAtpZ...."
    vtpm.ekCRT = "MIIEPjCCAyagAwIBAgIBATANBgkqhkiG9w0BAQsFA...."
    vtpm.present = "TRUE"
    encryption.keySafe = "vmware:key/list/(pair/(phrase/K2C1BPve6M0%3d/pass2key%3dPBKDF2%2dHM....))"
    encryption.data = "pCaGF7K85+RPw7cYI9LTCOTQHHwi9lDebF...."