Node Red as opc ua client(IOT2050) to WinCC RT Unified V18 OPCUA Server

I’m trying to set up my node red(node js version 18 and node red v3.0.2) as a opc ua client to WinCC Unified RT V18 OPCUA Server. however, it is giving invalid endpoint error (node-red-contrib-opcua-0.2.339).

I initially tested with UaExpert Opcua client to the Wincc opcua server. and I was able establish communication.

I suspect this has something to do with certificate because I struggled with UAExpert client on this. It did not automatically get generated in the rejected or trusted cert folder(in WinCC path). I had to manually transfer it from UaExpert ceritficate menu/folder. I'm not sure how to do this in a nodered setup?

Please assist. Thank you

.