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
- Host: GitHub
- URL: https://github.com/manchoz/brssl-docker
- Owner: manchoz
- Created: 2018-06-08T07:41:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T08:16:32.000Z (almost 7 years ago)
- Last Synced: 2024-12-30T02:51:36.368Z (5 months ago)
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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