nauful / LibUA

Open-source OPC UA client and server library
Apache License 2.0
262 stars 94 forks source link

Server Certificate in Demo Server #19

Closed antroa closed 4 years ago

antroa commented 4 years ago

The standard server certificate from libua demo server is missing some properties, e.g.:

X509v3 Basic Constraints, X509v3 Key Usage, X509v3 Extended Key Usage, X509v3 Subject Alternative Name.

I added a more conform DER encoded certificate (marked as usable for uaclient and uaserver, but uaserver should better a certificate marked as usable for server and uaclients should better use a certificate marked as usable for clients) and a certificate template for the XCA tool.

lubua-clntsrvcert.zip

nauful commented 4 years ago

The demo server certificate is a sample one generated via C#.

Thanks, adding to the readme.