aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 21:44:17 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 21:44:17 +0100
commitdeaabd1464784a6fddbfa9e1ac6cb0e1148a8c34 (patch)
tree93b6614e554db2e8c7ac0becfb0b8129ab49e141 /CMakeLists.txt
parent70381b3381d77845dbc04fd521b729b7098134a5 (diff)
downloadBobinkCOpcUa-deaabd1464784a6fddbfa9e1ac6cb0e1148a8c34.tar.gz
BobinkCOpcUa-deaabd1464784a6fddbfa9e1ac6cb0e1148a8c34.zip
Add X509 certificate identity token authentication
Support authMode=cert alongside anonymous and user. The client reuses its application certificate as the X509 identity token (open62541 requires both to match). Server-side access control advertises the certificate token policy automatically when sessionPKI is configured.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79c3c3d..b5da8b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,9 +67,9 @@ enable_testing()
set(_test_script "${CMAKE_SOURCE_DIR}/tests/run_test.sh")
-set(_test_names unsecure_anonymous secure_anonymous secure_user)
+set(_test_names unsecure_anonymous secure_anonymous secure_user secure_cert)
-set(_test_policies None Basic256Sha256 Basic256Sha256)
+set(_test_policies None Basic256Sha256 Basic256Sha256 Basic256Sha256)
foreach(_name _policy IN ZIP_LISTS _test_names _test_policies)
add_test(NAME "${_name}" COMMAND bash "${_test_script}" "tests/${_name}"