Key protection algorithm not found: java.lang.NullPointerException
Hi,
I have a problem when I try to sign document I have this error:
org.alfresco.error.AlfrescoRuntimeException: 03250047 Key protection algorithm not found: java.lang.NullPointerException
This is a copy of my file "contersign-config.properties":
Configuration for the CounterSign server components
How long should user-generated keys remain valid (in days)?
countersign.signature.validDuration=365
Named alias used in the keystore to identify the cert CounterSign should use
countersign.signature.alias=countersign
Enable trusted certificate signing?
countersign.signature.enableTrustedCerts=true
Repository path for a single root (trusted) keystore containing a cert used to sign per-user certs
countersign.signature.trustedKeystorePath=C:/Alfresco/keys/ca.p12
Password for accessing the trusted keystore
countersign.signature.trustedKeystorePassword=baccouch*
Alias for the trusted root certificate
countersign.signature.trustedCertAlias=countersign
Alias for the trusted root certificate
countersign.signature.trustedKeyAlias=countersign
Alias for the trusted root certificate
countersign.signature.trustedKeyPassword=countersign
Snapshot Alfresco metadata and embed in PDF at the time a doc is signed?
(Unimplemented) countersign.signature.snapshotMetadata=true
Hash algorithm to be used for non-pdf doc hashes and signatures
countersign.signature.hashAlgorithm=SHA-256
Signature algorithm (must be valid for the selected provider. See
http://docs.oracle.com/javase/6/docs/api/java/security/Signature.html#getInstance(java.lang.String, java.lang.String)
countersign.signature.signatureAlgorithm=SHA1withRSA
Signature provider for java.security.Signature (we use BC by default)
countersign.signature.java.provider=BC
Map URL for leaflet.js
countersign.leaflet.mapurl=<your leaflet map URL + API key>
Map data attribution for leaflet.js
countersign.leaflet.attribution=
Date format to be used for timeline display
countersign.display.dateFormat=MM/dd/yyyy HH:mm
password strength, minimum length
countersign.passwordStrength.minLength=6
password minimum score for a "good" rating
countersign.passwordStrength.goodScore=34
password minimum score for a "strong" rating
countersign.passwordStrength.strongScore=68
Pleaaaaaaaaaaaaase , help me!!
Are you using the .AMP builds, or building from source?
Hi,
Thank you for your reply.
I'm using AMP builds.
2014-04-28 16:20 GMT+01:00 Nathan McMinn [email protected]:
Are you using the .AMP builds, or building from source?
— Reply to this email directly or view it on GitHubhttps://github.com/ntmcminn/CounterSign/issues/3#issuecomment-41571299 .
OK, I patched a few bugs since the last release, including one that looks similar to what you are experiencing.
I would suggest building from source (using Maven it is pretty simple). I'm rolling up a few fixes into the next release, which should be coming soon(isn).
Thank you very much
2014-04-29 17:25 GMT+01:00 Nathan McMinn [email protected]:
OK, I patched a few bugs since the last release, including one that looks similar to what you are experiencing.
I would suggest building from source (using Maven it is pretty simple). I'm rolling up a few fixes into the next release, which should be coming soon(isn).
— Reply to this email directly or view it on GitHubhttps://github.com/ntmcminn/CounterSign/issues/3#issuecomment-41698407 .
A new release has been published that incorporates all of the current bugfixes. If you have not yet built from source, you can just download the new release.
Thank You Mr
:)
Date: Tue, 20 May 2014 10:38:13 -0700 From: [email protected] To: [email protected] Subject: Re: [CounterSign] Key protection algorithm not found: java.lang.NullPointerException (#3)
A new release has been published that incorporates all of the current bugfixes. If you have not yet built from source, you can just download the new release.
— Reply to this email directly or view it on GitHub.
can you give me the download link ? From: [email protected] To: [email protected] Subject: RE: [CounterSign] Key protection algorithm not found: java.lang.NullPointerException (#3) Date: Wed, 21 May 2014 08:40:31 +0100
Thank You Mr
:)
Date: Tue, 20 May 2014 10:38:13 -0700 From: [email protected] To: [email protected] Subject: Re: [CounterSign] Key protection algorithm not found: java.lang.NullPointerException (#3)
A new release has been published that incorporates all of the current bugfixes. If you have not yet built from source, you can just download the new release.
— Reply to this email directly or view it on GitHub.
I have two issues with countersign signature. I've spent about 3 weeks without success.
- When Admin sent a document for signature, through the workflow, the assignee is not able to sign. Coutersign throws a permission error: org.alfresco.repo.security.permissions.AccessDeniedException: 04020023 Access Denied. You do not have the appropriate permissions to perform this operation.
- I need a kind of step by step instruction to setup a trusted store and generate trusted certificates.
Thank in anticipation.
Olajohn Abolade