Unable to connect to Kaiser-Raman OPC UA server using opc ua node

Hi, I am trying to connect to an OPCUA-server using Basic256/Basic128Rsa15 security policy using Node-Red's inbuilt certificates and key. My flow works perfectly fine when working on a simulation server I've created using Node-JS SDK.

I'm receiving the following error code with inbuilt credentials.

  • Error : client1 Security token has expired : tokenId 1

I replaced the certificate and key after going through this thread - S7-1500 secure conversation is closed with simple_client.js #549 (node-opcua/node-opcua#549)
And am getting the following error...

  • Error : internal error expecting valid derivedKeys

Can someone suggest something to get this to work?