Monday, July 4, 2022

Generate KeyStore SecureSockets

Video

Go to "Command" 

C:\Users\sital>keytool -genkey -alias zastore -keystore za.store

Enter keystore password: password

Re-enter new password: password

What is your first and last name?

  [Unknown]:  sital

What is the name of your organizational unit?

  [Unknown]:  sital

What is the name of your organization?

  [Unknown]:  computer

What is the name of your City or Locality?

  [Unknown]:  jhapa

What is the name of your State or Province?

  [Unknown]:  1

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

  [Unknown]:  NP

Is CN=sital, OU=sital, O=computer, L=jhapa, ST=1, C=NP correct?

  [no]:  yes

Enter key password for <zastore>

        (RETURN if same as keystore password): password

Re-enter new password: password

Warning:

The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS

12 which is an industry standard format using "keytool -importkeystore -srckeyst

ore za.store -destkeystore za.store -deststoretype pkcs12".

Goto same location--à C:\Users\sital>

No comments:

Post a Comment

Difference Between Socket and Server Socket in Java

Two essential Java classes-Socket and ServerSocket-have different functions when it comes to creating networked applications. These classes ...