ssl certificate key error | Sololearn: Learn to code for FREE!

+2

ssl certificate key error

I want to run a https node.js server with websocket in centos 7 server. It runs without any error but in browser console I get this error : NET:ERR_CERT_AUTHORITY_INVALID It works without error locally by http but when I want to connect it on server by wss connection can't be stablished I also created 2 self-signed crt keys but the errors are still showing

1/21/2020 4:18:26 PM

Majid Rahimpour

2 Answers

New Answer

+2

It was because I was using IP instead of domain. The keys was compatible with specific domain, thanks

0

//Maybe it's because you are using duplicate keys, Key Which has been already used