search

Home  >  Q&A  >  body text

node.js - error:0906D06C:PEM routines:PEM_read_bio:no start line

我用node.js的https服务,证书是crt格式的,报这个错,谁遇到过

ringa_leeringa_lee2863 days ago575

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 13:31:52

    The file was not placed correctly, causing
    cert to be placed-----BEGIN CERTIFICATE-----
    key to be-----BEGIN RSA PRIVATE KEY-----
    I am Because for some reason the key also contains -----BEGIN CERTIFICATE-----, which causes this problem

    reply
    0
  • Cancelreply