as specified in the Node api doc I tried the first one with a self created and signed cert using openssl. Everything was going fine except the fact that the couldn\'t test the c
well in the pfx case you should add the option
passphrase: 'password'