An open API service indexing awesome lists of open source software.

https://github.com/andreacomo/keytool-helper

Simple KeyTool utilities
https://github.com/andreacomo/keytool-helper

csr keytool p7s self-signed-certificate

Last synced: 5 months ago
JSON representation

Simple KeyTool utilities

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/andreacomo/keytool-helper.svg?branch=master)](https://travis-ci.org/andreacomo/keytool-helper)
[![Released Version](https://img.shields.io/maven-central/v/it.cosenonjaviste/keytool-helper.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22it.cosenonjaviste%22%20a%3A%22keytool-helper%22)

# KeyTool Utility Project

This project try to simplify common operation with KeyTools such as:

* generate a **new key pair** with **self-signed certificate**
* add an **existing private key and certificate**
* generate a new *Certificate Sign Request* (**CSR**)
* sign a CSR and produce a **certification chain** (p7b)

##### Disclaimer:
In order to reduce dependencies, some classes of `sun.security` package has been used:
may not compile on JDKs different than OpenJDK/Oracle.

## How to use

Code is better than thousand words: check out [`KeyToolsTest`](https://github.com/andreacomo/keytool-helper/blob/master/src/test/java/it/codingjam/keytool/services/KeyToolsTest.java)!