DockerCLI/vendor/github.com/docker/licensing/lib/go-auth
Sebastiaan van Stijn 5ac07c795f
bump docker/licensing to 9781369abdb5281cdc07a2a446c6df01347ec793
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-20 18:52:19 +01:00
..
identity Vendoring bump for containerd and licensing 2018-08-20 09:42:05 -07:00
jwt bump docker/licensing to 9781369abdb5281cdc07a2a446c6df01347ec793 2019-03-20 18:52:19 +01:00
README.md Vendoring bump for containerd and licensing 2018-08-20 09:42:05 -07:00

README.md

This is a library for handling JWT authentication tokens

Generating new test certificates

In the event that the test certificates expire, regenerate them with OpenSSL

cd jwt/testdata

Generate new root CA cert and private key

openssl req -newkey rsa:4096 -nodes -keyout root_key.pem -x509 -days 3650 -out root-certs

Generate new intermediate CA cert and private key

openssl req -new -key private-key -out inter.csr

openssl x509 -req -days 3650 -in inter.csr -CA root-certs -CAkey root_key.pem -CAcreateserial -out trusted-cert