Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleantutorials/547a5b29b5082dab821f28275b8ea928 to your computer and use it in GitHub Desktop.
Save cleantutorials/547a5b29b5082dab821f28275b8ea928 to your computer and use it in GitHub Desktop.
Generate key pair on Server or the Host machine
B:\JMX\Security>keytool -genkeypair -keystore serverkeystore -alias serverkey -validity 180 -storepass serverpass -keypass serverpass
What is your first and last name?
[Unknown]: JMX Agent
What is the name of your organizational unit?
[Unknown]: DevOps
What is the name of your organization?
[Unknown]: CleanTutorials
What is the name of your City or Locality?
[Unknown]: Delhi
What is the name of your State or Province?
[Unknown]: Delhi
What is the two-letter country code for this unit?
[Unknown]: IN
Is CN=JMX Agent, OU=DevOps, O=CleanTutorials, L=Delhi, ST=Delhi, C=IN correct?
[no]: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment