I have tested the steps with nodejs and nodejs-dev in bionic-proposed, however I get a different error. I am guessing that there is something wrong with the credential initializing:
ubuntu@ubuntu-bionic:~$ node
> const grpc = require('grpc')
undefined
> const creds = grpc.ServerCredentials.createSsl(null, [])
undefined
> const server = new grpc.Server()
undefined
> server.bind('0.0.0.0:8080', creds)
E0908 19:25:28.193325796 27119 security_connector.cc:1149] Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0908 19:25:28.193531437 27119 server_secure_chttp2.cc:84] {"created":"@1536434728.193508636","description":"Unable to create secure server with credentials of type Ssl.","file":"../deps/grpc/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc","file_line":63,"security_status":1}
0
I was able to successfully `npm install node-webcrypto-ossl` this time.
I have tested the steps with nodejs and nodejs-dev in bionic-proposed, however I get a different error. I am guessing that there is something wrong with the credential initializing:
ubuntu@ ubuntu- bionic: ~$ node entials. createSsl( null, []) bind('0. 0.0.0:8080' , creds) connector. cc:1149] Handshaker factory creation failed with TSI_INVALID_ ARGUMENT. secure_ chttp2. cc:84] {"created" :"@1536434728. 193508636" ,"description" :"Unable to create secure server with credentials of type Ssl."," file":" ../deps/ grpc/src/ core/ext/ transport/ chttp2/ server/ secure/ server_ secure_ chttp2. cc","file_ line":63, "security_ status" :1}
> const grpc = require('grpc')
undefined
> const creds = grpc.ServerCred
undefined
> const server = new grpc.Server()
undefined
> server.
E0908 19:25:28.193325796 27119 security_
E0908 19:25:28.193531437 27119 server_
0
I was able to successfully `npm install node-webcrypto- ossl` this time.