Commit 2351a8c2 authored by Julien Prigent's avatar Julien Prigent Committed by oroulet

[uatools] Missing await to load certificates

parent 19c0f540
......@@ -558,9 +558,9 @@ async def _uaserver():
server = Server()
server.set_endpoint(args.url)
if args.certificate:
server.load_certificate(args.certificate)
await server.load_certificate(args.certificate)
if args.private_key:
server.load_private_key(args.private_key)
await server.load_private_key(args.private_key)
server.disable_clock(args.disable_clock)
server.set_server_name("FreeOpcUa Example Server")
if args.xml:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment