FreeOpcUa / opcua-asyncio

OPC UA library for python >= 3.7
GNU Lesser General Public License v3.0
1.11k stars 358 forks source link

Lower Certificate Error in Logs #1544

Closed alliehunter closed 8 months ago

alliehunter commented 9 months ago

Hi!

I have been seeing the following ERROR log message when using asyncua:

[ERROR] [asyncua.crypto.uacrypto]: certificate does not contain the application uri (urn:freeopcua:client). Most applications will reject a connection without it.
[ERROR]  [asyncua.crypto.uacrypto]: certificate does not contain the hostname in DNSNames eeeccc7d53d4. Some applications will check this.

However, for my specific application, the certificates I am using work and allow communication with the OPCUA Server. Therefore, I think this log level should be WARNING instead of ERROR since it does not cause an error in ALL applications.

Thanks!