SSL certificate error

后端 未结 3 793
执念已碎
执念已碎 2020-12-06 18:18

I am testing SSL access to a local node server with key,ca,cert in options ( self-signed w OpenSSL)

var server_options = {
  key: fs.readFileSync(\'/etc/ssl/         


        
3条回答
  •  心在旅途
    2020-12-06 18:38

    It's your self-signed certificate that you should add to your CA bundle. Otherwise, curl can't know it can be trusted.

提交回复
热议问题