Create ovf package with Cert File

Source: Internet
Author: User
Tags openssl x509

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.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.