Hi, i am using signserver for signing my documnets, for signing i am using CMSsigner but while signing the documnet i am getting following error :
org.signserver.common.CryptoTokenOfflineException: No key available for purpose: null
Below are the details:
Status of Signer with id 4 (CMSSigner) is: Worker status : Offline Token status : Active Signings : 0
Errors: - No signer certificate available - No key available for purpose: bharat
Worker properties: CRYPTOTOKEN=CryptoTokenP12
KEYSTORETYPE=PKCS12 ALLOW_DETACHEDSIGNATURE_OVERRIDE=FALSE DEFAULTKEY=bharat SIGNERCERT= KEYSTOREPATH=C:\Software\SignServer\signserver-ce-3.7.0\res\test\dss10\dss10_signer2.p12 AUTHTYPE=NOAUTH DETACHEDSIGNATURE=FALSE CLASSPATH=org.signserver.common.ProcessableConfig SIGNATUREALGORITHM=SHA1withRSA SIGNERCERTCHAIN= NAME=CMSSigner
Please help me out on this as i am new to this.
Hi Bharat,
It looks like your crypto token called "CryptoTokenP12" does not contain a key with key alias "bharat".
You can list available keys in your crypto token with: $ bin\signserver querytokenentries -token CryptoTokenP12
Regards, Markus PrimeKey Solutions
Log in to post a comment.
Hi,
i am using signserver for signing my documnets, for signing i am using CMSsigner but while signing the documnet i am getting following error :
org.signserver.common.CryptoTokenOfflineException: No key available for purpose: null
Below are the details:
Status of Signer with id 4 (CMSSigner) is:
Worker status : Offline
Token status : Active
Signings : 0
Errors:
- No signer certificate available
- No key available for purpose: bharat
Worker properties:
CRYPTOTOKEN=CryptoTokenP12
Please help me out on this as i am new to this.
Last edit: Bharat 2016-01-21
Hi Bharat,
It looks like your crypto token called "CryptoTokenP12" does not contain a key with key alias "bharat".
You can list available keys in your crypto token with:
$ bin\signserver querytokenentries -token CryptoTokenP12
Regards,
Markus
PrimeKey Solutions