Public | Automated Build

Last pushed: 2 years ago
Short Description
SoftHSM + PKCS11-Proxy (Experimental)
Full Description

To start another container that uses a pkcs11 module...

docker run --link=<SOFTHSM-NAME]:PKCS11_PROXY --volumes-from=<SOFTHSM-NAME>:ro <IMAGE-NAME>

When you do this, you simply use /usr/lib/pkcs11-proxy/libpkcs11-proxy.so as your pkcs11 module.

Example:

$ docker run -d --name=softhsm softhsm-daemon
$ docker run -ti --link=softhsm:PKCS11_PROXY --volumes-from=softhsm:ro debian
root@df426792a55d:/# apt-get update && apt-get -y install opensc
root@df426792a55d:/# pkcs11-tool -v --module /usr/lib/pkcs11-proxy/libpkcs11-proxy.so -I
Docker Pull Command
Owner
darco
Source Repository