Skip to content

Bernardo-MG/keystore-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keystore Generator

Keystore generator to be used for testing purposes. It generates a basic Java keystore.

To run the project first package it:

mvn clean package

Afterwards a runnable jar will be in the target folder. It can be run like this:

java -jar target/keygen.jar keystore keystore.jks 123456 alias "CN=www.bernardomg.com, O=bernardomg, OU=None, L=London, ST=England, C=UK"

To show additional commands:

java -jar target/keygen.jar -h

More information, and instructions for other kinds of keystores, can be found in the documentation.

Release docs Development docs

Release javadocs Development javadocs

Features

  • Command Line Interface
  • Generates JKS stores
  • Generates symmetric JKS stores

Documentation

Documentation is always generated for the latest release, kept in the 'master' branch:

Documentation is also generated from the latest snapshot, taken from the 'develop' branch:

Building the docs

The documentation site is actually a Maven site, and its sources are included in the project. If required it can be generated by using the following Maven command:

$ mvn verify site

Usage

The application is embedded in a runnable JAR.

First package the project:

mvn clean package

Then run it like this:

java -jar target/keygen.jar keystore keystore.jks [password] [alias] "CN=www.bernardomg.com, O=bernardomg, OU=None, L=London, ST=England, C=UK"

With this a keystore.jks will appear in the folder where the command was executed.

Collaborate

Any kind of help with the project will be well received, and there are two main ways to give such help:

  • Reporting errors and asking for extensions through the issues management
  • or forking the repository and extending the project

Issues management

Issues are managed at the GitHub project issues tracker, where any Github user may report bugs or ask for new features.

Getting the code

If you wish to fork or modify the code, visit the GitHub project page, where the latest versions are always kept. Check the 'master' branch for the latest release, and the 'develop' for the current, and stable, development version.

License

The project has been released under the MIT License.