Vcloud Director-Self Signed Certificate-Keytools

Vcloud Director-Self Signed Certificate Using Keytools:

This section we will be using keytools to create Self-Signed Certificate under Windows 7 Workstation Java Home.

Generate SSL Certificate java keystore for vCloud Director will use for SSL before running the Vcloud Director installation.  Please follow the steps below to create a java keystore that Vcloud director installation.

keytools

Keytools- Command Line Syntax:   Key and Certificate Management Tool

Commands:

-certreq            Generates a certificate request

-changealias        Changes an entry’s alias

-delete             Deletes an entry

-exportcert         Exports certificate

-genkeypair         Generates a key pair

-genseckey          Generates a secret key

-gencert            Generates certificate from a certificate request

-importcert         Imports a certificate or a certificate chain

-importpass         Imports a password

-importkeystore     Imports one or all entries from another keystore

-keypasswd          Changes the key password of an entry

-list               Lists entries in a keystore

-printcert          Prints the content of a certificate

-printcertreq       Prints the content of a certificate request

-printcrl           Prints the content of a CRL file

-storepasswd        Changes the store password of a keystore

Use “keytool -command_name -help” for usage of command_name

Navigate to the Java home location—->Open Command Shell Window—- Run——>CMD—–>Navigate to Java Home(C:\Program Files (x86)\Java\jre1.8.0_25\bin\

  1. Creating Self-Signed Certificates using Keytools– : keytool -genkey -keyalg RSA -storetype JCEKS -alias http -keystore certificates.ks -storepass passwd -validity 360 -keysize 2048

C:\Program Files (x86)\Java\jre1.8.0_25\bin> keytool -genkey -keyalg RSA -storet

ype JCEKS -alias http -keystore certificates.ks -storepass passwd -validity 360 -keysize 2048

What is your first and last name?

[Unknown]:  vcd01.mydomain

What is the name of your organizational unit?

[Unknown]:  IT

What is the name of your organization?

[Unknown]:  My Compnany

What is the name of your City or Locality?

[Unknown]:  My City

What is the name of your State or Province?

[Unknown]:  My State

What is the two-letter country code for this unit?

[Unknown]:  US

Is CN=vcd01.mydomain, OU=IT, O=My Compnany, L=My City, ST=My State, C=US correct?

[no]:  yes


Leave a Reply

Your email address will not be published. Required fields are marked *