Excellent walk-thru videos from WAGO Germany that go thru setting up security certificates for OPC-UA on WAGO devices:
OPC UA in CODESYS 3.5 #3 | Creating Security Certificates in CODEYS 3.5
OPC UA in CODESYS 3.5 #4 | Creating custom security certificates and importing them into CODEYS 3.5
Videos #1 and #2:
OPC UA in CODESYS 3.5 #1 | Configuring an OPC UA server in CODEYS 3.5
OPC UA in CODESYS 3.5 #2 | Configuring an OPC UA client in CODEYS 3.5