Skip to content
Discussion options

You must be logged in to vote

@primetomas thanks, but how can I create "PKCS11NG Crypto Token" from command line? I tried ejbca.sh cryptotoken create --token ${token_name} --pin ${HSM_PIN} --autoactivate true \ --type PKCS11NGCryptoToken --lib $(crypto_lib) \ --slotlabel "${slot_label}" --slotlabeltype SLOT_LABEL but got error Invalid CryptoToken type: PKCS11NGCryptoToken.

could you tell me proper crypto token type to create PKCS11NG backed crypto token? (I checked GUI at https://my.ejcba.deployment/ejbca/adminweb/cryptotoken/cryptotoken.jsf?cryptoTokenId=0&ref=cryptotokens of ejbca ee, but it only shows SOFT, Azure Key Vault, AWS KMS in its select box)

regards,

EDIT: --type P11NGCryptoToken also does not help
EDIT: …

Replies: 9 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@primetomas
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by umegaya
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants