I am trying to host a react app I created and tested locally using the facebook boilerplate.
The client app interacts with an API I made using node.js, and with which I had no issue setting up a secure connection (with a node.js client sending my SSL certificate, for testing).
However, I am encountering difficulties when it comes to using react to send my SSL certificate instead of a self-signed one which causes me to encounter this error using chrome and trying to access to https://example.net:3000 :
你的连接不是私有的(网络:ERR_CERT_AUTHORITY_INVALID)
这些文档对我帮助不大:
请注意,服务器将使用自签名证书,因此您的web浏览器几乎肯定会在访问页面时显示警告.
我如何使用我自己的SSL证书(我已经在我的域上的另一个应用程序上使用了它,它就像一个符咒一样工作)而不是这个自签名证书?我错过什么了吗?