tests/projects/opcua_client_encrypted/opcua_0@opcua/confnode.xml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 15 Nov 2022 20:43:39 +0100
branchwxPython4
changeset 3677 6d9040e07c32
parent 3631 176e1f218c61
child 3820 46f3ca3f0157
permissions -rw-r--r--
OPC-UA: only support the encryption policy selected in config.

By default open62541 client accepts all supported policies, but in makes problem
when negociating with some servers while most clients seems to only support
one policy at a time.
3561
77252e67d0d6 tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
3589
a0b645a934c9 OPC-UA, IDE: add CTN parameters to support OPC-UA encryption and authentication.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3561
diff changeset
     2
<OPCUAClient xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3631
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     3
  <AuthType>
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     4
    <x509 Certificate="my_cert.der" PrivateKey="my_private_key.pem">
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     5
      <Policy/>
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     6
      <Mode/>
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     7
    </x509>
176e1f218c61 Tests: add opc-ua encrypted test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3616
diff changeset
     8
  </AuthType>
3589
a0b645a934c9 OPC-UA, IDE: add CTN parameters to support OPC-UA encryption and authentication.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 3561
diff changeset
     9
</OPCUAClient>