Closed mister-potter closed 4 months ago
In OPC UA there is a have two certificates one is used for the transport transport security (e.g. Sign&Encrypt) and is used for UserAuth via Certificates (peer-certificate). You need a certificate for the encrypted communication.
There for you can create your own certificate, via setup_self_signed_certificate
, see example: https://github.com/FreeOpcUa/opcua-asyncio/blob/master/examples/client-with-encryption.py
Hello
I would like to use encryption with security policy Basic256Sha256 + username / password authentication and not certificate exchange.
To Reproduce
When I use the below mentioned code, it's trying to load the certificates / key. Returns the error
Error: [Errno 2] No such file or directory: 'None'
Version
Python-Version: 3.12 opcua-asyncio Version: 1.1.0