title: NodeJS - How to generate certificate and private key with node-opcua-pki
body: <p>I'm trying to establish an OPCUA connection between my NodeJS App (Client side) and an OPCUA server (not NodeJS based).
  I'm using the module node-opcua and I have no problem to connect to the OPCUA server with no encryption.</p>
  <p>However I want my connection to be secured and encrypted. I'm trying to use the module node-opcua-pki to generate certificate &amp; private key but I don't know how to use this module and where to run this command.</p>
  <p>Do I have to run the command to generate my certificate and private key in the command line or in my NodeJS app?</p>
  <p>Thanks in advance for your help!</p>