Hi,
I am using nCipher HSM for my sigining, scep and datasafe keys. I am using the modified hsm supporting crypto.yaml realm file.
#Sample Mockup Config for Token config of a single realm# The left side are fixed aliases used in the code, the right side# are aribtrary chosen names, referencing the tokens below.type:certsign:test-signerdatasafe:test-vaultscep:test-scep# The actual token setup, based on current token.xmltoken:default:backend:OpenXPKI::Crypto::Backend::OpenSSL# Template to create key, available vars are# ALIAS (ca-one-signer-1), GROUP (ca-one-signer), GENERATION (1)#key: /etc/openxpki/ssl/[% PKI_REALM %]/[% ALIAS %].pem# possible values are OpenSSL, nCipher, LunaCAengine:OpenSSLengine_section:''engine_usage:''key_store:OPENXPKI# OpenSSL binary locationshell:/usr/bin/openssl# OpenSSL binary call gets wrapped with this commandwrapper:''# random file to use for OpenSSLrandfile:/var/openxpki/rand# Default value for import, recorded in database, can be overridensecret:defaulttest-hsm:inherit:defaultengine:nCipherengine_section:|engine_id=childynamic_path=/usr/local/ssl/lib/engines/libchil.soSO_PATH=/opt/nfast/toolkits/hwcrhk/libnfhwcrhk.soTHREAD_LOCKING=1engine_usage:ALWAYSkey_store:ENGINEwrapper:''randfile:/var/openxpki/randtest-signer:inherit:test-hsmkey:rsa-signertest-vault:inherit:test-hsmkey:rsa-vaulttest-scep:inherit:test-hsmbackend:OpenXPKI::Crypto::Tool::SCEPshell:/usr/bin/openca-scepkey:rsa-scep#backend: OpenXPKI::Crypto::Tool::LibSCEP# A different scep token for another scep server, served from datapool#ca-one-special-scep:# inherit: ca-one-scep# key_store: DATAPOOL# key: "[% ALIAS %]"# Define the secret groupssecret:default:label:Defaultsecretgroupofthisrealm#export: 0method:literal# this is only a dummy value, the actual key is HSM protectedvalue:rootcache:daemon
In a separate window i run my preload command as
/opt/nfast/bin/preload -M -f /opt/nfast/kmdata/tmp/preload pause
as my keys are module protected.
My certificates are online, i am using preload to load the keys. When i try to issue a certificate for a csr, i get the folowing errors:
2019/10/16 14:05:38 ERROR I18N_OPENXPKI_API_TOKEN_GET_TOKEN_ALIAS_BY_GROUP_NO_RESULT; GROUP => test-signer, NOAFTER => 1602849938, NOTBEFORE => 1571227538, PKI_REALM => test [pid=11095|sid=0hDP|wftype=certificate_signing_request_v2|wfid=30975]
2019/10/16 14:05:38 ERROR Caught exception from action: [Generic exception]; reset workflow to old state 'NICE_ISSUE_CERTIFICATE' [pid=11095|sid=0hDP|wftype=certificate_signing_request_v2|wfid=30975]
Any help please.
What is the reason for the I18N_OPENXPKI_API_TOKEN_GET_TOKEN_ALIAS_BY_GROUP_NO_RESULT error?
Regards,
Vignesh Makeswaran
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI,
We have installed openxpki server in our organization. We want to create certificate using API (soap). Is this possible? if it is possible please tell us the procedure.
Thanks & Regards,
Sanju Kundu
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
We have to build small connector/plugin which get list of CA certificates from OpenXPKI, so for that I have ran the docker, I can able to access the UI as well, the only issue I am unable find any API documentation, please anyone expertise please can help
Thanks & Regards,
Revan
Last edit: Revan 2025-11-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using nCipher HSM for my sigining, scep and datasafe keys. I am using the modified hsm supporting crypto.yaml realm file.
In a separate window i run my preload command as
/opt/nfast/bin/preload -M -f /opt/nfast/kmdata/tmp/preload pause
as my keys are module protected.
My certificates are online, i am using preload to load the keys. When i try to issue a certificate for a csr, i get the folowing errors:
2019/10/16 14:05:38 ERROR I18N_OPENXPKI_API_TOKEN_GET_TOKEN_ALIAS_BY_GROUP_NO_RESULT; GROUP => test-signer, NOAFTER => 1602849938, NOTBEFORE => 1571227538, PKI_REALM => test [pid=11095|sid=0hDP|wftype=certificate_signing_request_v2|wfid=30975]
2019/10/16 14:05:38 ERROR Caught exception from action: [Generic exception]; reset workflow to old state 'NICE_ISSUE_CERTIFICATE' [pid=11095|sid=0hDP|wftype=certificate_signing_request_v2|wfid=30975]
Any help please.
What is the reason for the I18N_OPENXPKI_API_TOKEN_GET_TOKEN_ALIAS_BY_GROUP_NO_RESULT error?
Regards,
Vignesh Makeswaran
HI,
We have installed openxpki server in our organization. We want to create certificate using API (soap). Is this possible? if it is possible please tell us the procedure.
Thanks & Regards,
Sanju Kundu
Hi
We have to build small connector/plugin which get list of CA certificates from OpenXPKI, so for that I have ran the docker, I can able to access the UI as well, the only issue I am unable find any API documentation, please anyone expertise please can help
Thanks & Regards,
Revan
Last edit: Revan 2025-11-17