Node.js错误:错误:0906D06C:PEM例程:PEM_read_bio:无起始行

时间:2019-05-22 12:11:43

标签: node.js reactjs

我正在尝试在react js中使用sso saml身份验证,而运行时  应用出现以下错误:有帮助吗?

Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
    at Sign.sign (internal/crypto/sig.js:80:26)
    at RSASHA1.getSignature (C:\Users\abc\Desktop\newproject\node_modules\xml-crypto\lib\signed-xml.js:91:22)
    at SignedXml.createSignature (C:\Users\abc\Desktop\newproject\node_modules\xml-crypto\lib\signed-xml.js:704:44)
    at SignedXml.computeSignature (C:\Users\abc\Desktop\newproject\node_modules\xml-crypto\lib\signed-xml.js:495:29)
    at signXml (C:\Users\abc\Desktop\newproject\functions\saml.js:206:9)
    at SamlService.login (C:\Users\abc\Desktop\newproject\functions\saml.js:60:16)
    at samlLogin (C:\Users\abc\Desktop\newproject\functions\okta-functions.js:31:10)
    at Layer.handle [as handle_request] (C:\Users\abc\Desktop\newproject\node_modules\express\lib\router\layer.js:76:5)
    at next (C:\Users\abc\Desktop\newproject\node_modules\express\lib\router\route.js:100:13)
    at Route.dispatch (C:\Users\abc\Desktop\newproject\node_modules\express\lib\router\route.js:81:3)

0 个答案:

没有答案