Project

General

Profile

Actions

Defect #1479

closed

Test certification authority is expired

Added by Ondřej Kopr about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Target version:
Start date:
01/29/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

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.


Related issues

Related to Certificate Authority (crt) - Feature #1463: Send password to certificate to userClosedOndřej Kopr01/21/2019

Actions
Actions #1

Updated by Ondřej Kopr about 5 years ago

Probably fixed in #905, but fixed version for CAW missing and version used in tests missing :(

Actions #2

Updated by Ondřej Kopr about 5 years ago

  • % 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.

Actions #3

Updated by Ondřej Kopr about 5 years ago

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.
Actions #4

Updated by Ondřej Kopr about 5 years ago

  • % Done changed from 50 to 90

Implementation was completed. Commit and test was implemented in #1463

Actions #5

Updated by Ondřej Kopr about 5 years ago

  • Related to Feature #1463: Send password to certificate to user added
Actions #6

Updated by Ondřej Kopr about 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Review will be solved in #1463

Actions

Also available in: Atom PDF