error:0906D06C:PEM routines:PEM_read_bio:no start line

  node.js, question

I use the https service of node.js, the certificate is in crt format, who reported this mistake?

Is the file is not put correctly caused
Cert release —–BEGIN CERTIFICATE—–
Key put——beginra private key—-
I am because I don’t know why the key is also —–BEGIN CERTIFICATE—– causing this problem.