HTTPS SSH

JWK set generator for a Connect2id server deployment

Use this command line tool to generate a new JSON Web Key (JWK) set for a Connect2id server, or to prepend a new set of signing and encryption keys to an existing JWK set in order to facilitate key roll-over.

For more information:

http://connect2id.com/products/server/docs/config/jwk-set

Supported Connect2id server versions

  • version 6.x
  • version 7.x

Usage

Requires Java 8+ which must have enabled JCE support for unlimited key strength.

  1. Generate a new JWK set for a Connect2id server:
java -jar jwkset-gen.jar jwkSet.json
  1. Generate new set of rotating keys and prefix it to an existing Connect2id server JWK set:
java -jar jwkset-gen.jar oldJWKSet.json newJWKSet.json

Maven

Maven coordinates:

<dependency>
    <groupId>com.nimbusds</groupId>
    <artifactId>c2id-server-jwkset-gen</artifactId>
    <version>[ version ]</version>
</dependency>

Download

You can get a compiled executable JAR from the downloads section.

Questions?

Get in touch with Connect2id support.

2017-11-21