Createovf package with Cert File
1. Environment and necessary tools
Windows 7 32bit
VMware Workstation
Openssl-0.9.8k_WIN32.zip
Ovftool 2.0.1
2. Steps
A. Create a pem file for ovf
I. Extract openssl-0.9.8k_WIN32.zip to c: \ OpenSSL
Ii. Create c: \ OpenSSL \ SSL
Iii. Copy c: \ OpenSSL. cnf toc: \ OpenSSL \ SSL \ OpenSSL. CNF
Iv. Enter 'cmd' then use the command:
Openssl.exe req-X509-nodes-sha1-days 365-newkey RSA: 1024-keyout myself. pem-out myself. pem
The pemfile will be create in c: \ OpenSSL \ bin by default.
Bytes ---------------------------------------------------------------------------------------------------
Whenyou type the information the PEM file shocould be created.
Bytes ---------------------------------------------------------------------------------------------------
You can use OpenSSL X509-text-noout-In myself. pem to display the detail.
B. createa ovf File
V. type the command:
Ovftool -- privatekey = c: \ ****** \ myself. pem ******/Your VMware. vmx ovf-file.ovf
Bytes ---------------------------------------------------------------------------------------------------
Then ovf file and MF, cert file will be create.
Look at the content of cert file.