From: Raj M. <raj...@gm...> - 2017-10-16 22:56:45
|
Hello I am trying the sample PDF Signer demo and getting the following error HTTP Status 503 - Service Temporally Unavailable The server is currently unable to handle the request: *org.signserver.common.CryptoTokenOfflineException: Error trying to autoactivating the keystore, wrong password set? IOException PKCS12 key store mac invalid - wrong password or corrupted file.* *I am using the PKCS12 option and have the following configuration* # Sample configuration of a keystore crypto worker. # # Type of worker WORKERGENID1.TYPE=CRYPTO_WORKER # This worker will not perform any operations on its own and indicates this by # using the worker type CryptoWorker WORKERGENID1.IMPLEMENTATION_CLASS=org.signserver.server.signers.CryptoWorker # Uses a soft keystore: WORKERGENID1.CRYPTOTOKEN_IMPLEMENTATION_CLASS= org.signserver.server.cryptotokens.KeystoreCryptoToken # Name for other workers to reference this worker: WORKERGENID1.NAME=CryptoTokenP12 # Type of keystore # PKCS12 and JKS for file-based keystores # INTERNAL to use a keystore stored in the database (tied to the crypto worker) WORKERGENID1.KEYSTORETYPE=PKCS12 #WORKERGENID1.KEYSTORETYPE=JKS #WORKERGENID1.KEYSTORETYPE=INTERNAL # Path to the keystore file (only used for PKCS12 and JKS) WORKERGENID1.KEYSTOREPATH= /home/ubuntu/signserver/signserver-ce-4.0.0/res/test/dss10/dss10_keystore.p12 # Optional password of the keystore. If specified the token is "auto-activated". #WORKERGENID1.KEYSTOREPASSWORD=foo123 # Optional key to test activation with. If not specified the first key found is # used. #WORKERGENID1.DEFAULTKEY=testKey Thanks Raj.. |