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 imtrinity94/2a8b71f4513f6dfde2b19a16d12c7ab2 to your computer and use it in GitHub Desktop.
Save imtrinity94/2a8b71f4513f6dfde2b19a16d12c7ab2 to your computer and use it in GitHub Desktop.
vROCertTool - Package Singing Certificate generation

Package Signing Certificate Generation

Package signing certificate keystores can be created using the keytool command provided by the JDK.

To Create a self signed certificate for package signing that is good for 10 years:

keytool -genkeypair \
-alias _dunesrsa_alias_ \
-keyalg RSA \
-keysize 2048 \
-sigalg SHA512withRSA \
-storetype JCEKS \
-keystore package-signing-cert.jks \
-storepass password \
-dname "CN=Pkg Sign Team,OU=Org,O=Company,C=Country" \
-ext eku=sa \
-ext ku:c=dig,keyEncipherment \
-validity 3650

Make the certificate unique by updating the distinquished name (-dname), keystore password (-storepass)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment