Defect #1479
closed
Test certification authority is expired
Added by Ondřej Kopr almost 6 years ago.
Updated almost 6 years ago.
Description
In tests is used certification authority that is probably expired.
From frontend I recive error: Short read of DER length
But from debugging a see error
eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Execute driver [caw-driver] failed, error message: [C = CZ, ST = Czech Republic, L = Prague, O = BCV, OU = vyvoj, CN = Test Identity
error 12 at 0 depth lookup: CRL has expired
Certificate validation failed or revoked certificate supplied.
Please try prolong certification authority for test enviroment.
Probably fixed in #905, but fixed version for CAW missing and version used in tests missing :(
- % Done changed from 0 to 50
So this ticket is not related with #905. But there is probably some problem with minimal length of certificate password, because the password must be minimal 4 length.
I implement new two attributes password policy for validating and password policy for generating. Now is possible validate password for certificate before creating certificate, this is little workaround for the error with minimal length.
The second problem that I found is in test is probably expired crl, error given from tests:
eu.bcvsolutions.idm.core.api.exception.ResultCodeException: Execute driver [caw-driver] failed, error message: [C = CZ, ST = Czech Republic, L = Prague, O = BCV, OU = vyvoj, CN = Test Identity
error 12 at 0 depth lookup: CRL has expired
Certificate validation failed or revoked certificate supplied.
- % Done changed from 50 to 90
Implementation was completed. Commit and test was implemented in #1463
- Related to Feature #1463: Send password to certificate to user added
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
Review will be solved in #1463
Also available in: Atom
PDF