Signing JAR Files
This article describes the method for creating a keystore and signing JAR files.
oracle miscconfigurationintermediate
by OracleDba
15 views
This article describes the method for creating a keystore and signing JAR files.
1234567891011121314151617181920212223242526
$ cd ~
$ # Or
$ cd $HOME
$ $ORACLE_HOME/jdk/bin/keytool -genkey -alias myapp -keyalg RSA -keystore .keystore_myapp
Enter keystore password: mypassword
What is your first and last name?
[Unknown]: Joe Bloggs
What is the name of your organizational unit?
[Unknown]: My Department
What is the name of your organization?
[Unknown]: My Company
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]: UK
Is CN=Joe Bloggs, OU=My Department, O=My Company, L=My City, ST=My State, C=UK correct?
[no]: yes
Enter key password for <myapp>
(RETURN if same as keystore password):
$1
$ORACLE_HOME/jdk/bin/jarsigner -keystore .keystore_myapp -storepass mypassword $ORACLE_HOME/forms/java/frmall.jar myappPlease to add comments
No comments yet. Be the first to comment!