node-opcua / opcua-commander

a opcua client with blessed (ncurses)
MIT License
211 stars 46 forks source link

Connection with SecurityPolicy != None #12

Closed cacamille3 closed 6 years ago

cacamille3 commented 6 years ago

Would it be possible to get some information how to connect to OPC UA Server with Security Policy Basic256, Basic128Rsa15 or Basic256Sha256 ? I do not really understand the folder hierarchy for the Certificate and Private key... Where are the required Certificate ? Private key ?

The one specified in the index.js do not match....

const certificateFile = path.join(__dirname,"certificates","client_cert_2048.pem");
const privateKeyFile = path.join(__dirname,"certificates","PKI/own/private/private_key.pem" );