OPC UA connect to X20 fails due to certificate signet with SHA1

You should be able to follow the instructions in this post to create or use a SSL certificate for the OPC UA server.

UAExpert, mappView: How to make a secure OPCUA connection to OPCUA server with communication partner validation