Update the validity period of ctt_usrTV for X509UserIdentity (UACTT v1.04.11-01.00.500)
In Security User x509
selection, TC 004
checks that the X509 certificate ctt_usrTV.der
isn't yet valid and the expected result is BadIdentityTokenRejected
(The current time is before the start of the validity period).
Actually, this test failed because the current time is valid now (between the start and the end of validity period) but UACTT still expects that ctt_usrTV
isn't yet valid.
-
TC 004:Not yet valid certificate; trusted
is temporary add totests/ClientServer/acceptance_tools/known_bugs.cfg
- The start of the validity period of
ctt_usrTV.der
must be increase and the docker updated. (tooling/UACTT_project/PKI/CA/certs/ctt_usrTV.der
) - The
ctt_usrTV.der
must be updated in S2OPC (/S2OPC/tests/ClientServer/data/cert/uactt/X509UserIdentity_PKI/trusted/certs/ctt_usrTV.der
). - Removed
TC 004
fromtests/ClientServer/acceptance_tools/known_bugs.cfg
when the certificate will be updated
Note: Also update tooling/UACTT_project/PKI/copyToServer/X509UserIdentity_PKI/trusted/certs/ctt_usrTV.der
to avoid confusion between S2OPC and UACTT.
When creating a new project, the start of the validity for ctt_usrTV.der
is always set to January 1st of the following year. A ticket can be sent to the foundation to increase the start time.
Edited by Robin Barrucand