Skip to content

cremuzzi/docker-SoftHSMv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this image

Quickstart

  1. First run a simple container
docker run --name softhsm -i -t cremuzzi/softhsm2 ash
  1. then initialize a new token

from the container's interactive shell:

softhsm2-util --init-token --slot 0 --label "My token 1"

Start with persistent storage

  1. Create a data directory on a suitable volume on your host system, e.g. /my/own/tokens

  2. Start your softhsm container like this:

docker run --name softhsm -i -t -v /my/own/tokens:/tokens cremuzzi/softhsm2 ash

For more information on SoftHSMv2 please visit the main project on https://github.com/opendnssec/SoftHSMv2