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

https://github.com/manchoz/brssl-docker

A Docker image for BearSSL's brssl command line utility
https://github.com/manchoz/brssl-docker

Last synced: 3 months ago
JSON representation

A Docker image for BearSSL's brssl command line utility

Awesome Lists containing this project

README

        

# A simple image for BearSSL's brssl command line utility

## Private Keys, Trust Anchors and Certificate Chains

In order to use `verify`, `skey`, `ta`, and `chain` subcommands just bind-mount the (local) directory containing keys and certificates to `/certs`. Then, run the container with the subcommand and the filename for the cert/key you want to work on.

$ docker run --rm -ti -v :/certs manchoz/brssl verify cert1.pem -CA chain1.pem

### Creating a shell alias for `brrsl`

You may create a shell alias for checking certs and keys in *current* directories.

$ alias brssl="docker run --rm -ti -v \$PWD:/certs manchoz/brssl"
$ brssl ta cert1.pem