ssl certificate key error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

21st Jan 2020, 4:18 PM
Majid Rahimpour
Majid Rahimpour - avatar
2 Answers
+ 2
It was because I was using IP instead of domain. The keys was compatible with specific domain, thanks
23rd Jan 2020, 4:08 PM
Majid Rahimpour
Majid Rahimpour - avatar
0
//Maybe it's because you are using duplicate keys, Key Which has been already used
21st Jan 2020, 5:59 PM
Sudarshan Rai
Sudarshan Rai - avatar