Sign inSign up

hugojosefson/openssl

By hugojosefson

•Updated over 7 years ago

OpenSSL in alpine. Auto-updated whenever alpine is updated.

Image
0

1.3K

hugojosefson/openssl repository overview

⁠OpenSSL on Alpine Linux

⁠Examples

⁠OpenSSL REPL
docker run --rm -it hugojosefson/openssl
⁠Print some random data
docker run --rm -it \
  hugojosefson/openssl \
  rand -base64 32
⁠Create an SSL Certificate

OpenSSL asks for details and exports the certificate signing request in the current directory as cert-request.csr, and the private key as privkey.pem:

docker run --rm -it \
  -v $(pwd):/export \
  -w /export \
  -u $(id -u):$(id -g) \
  hugojosefson/openssl \
  req -nodes -new -newkey rsa:2048 -sha256 -out /export/cert-request.csr

Read the OpenSSL documentation⁠ for further information.

Tag summary

Content type

Image

Digest

Size

2.9 MB

Last updated

over 7 years ago

docker pull hugojosefson/openssl