NodeJS & SSL - “bad password read”

后端 未结 3 1816
执笔经年
执笔经年 2020-12-15 15:40

Node is failing to create a secure context for SSL communications.

Specifically, I\'m trying to get remote notifications to work on iOS. I use a module, called node-

3条回答
  •  醉梦人生
    2020-12-15 16:04

    Use these to generate pem.

    openssl genrsa -out server-key.pem 1024 openssl req -new -key server-key.pem -out server-csr.pem openssl x509 -req -in server-csr.pem -signkey server-key.pem -out server-cert.pem

提交回复
热议问题