I have a VPS and a domain, and I used an “A” route to map the domain to the VPS’s IP.
All things work fine here.
I also have a Node.js backend service that listens on the HTTPS port (8443).
I also used the Cloudflare-created SSL on it.
The problem is that the clients can’t execute any web service unless they turn off SSL validation!
Because of the following error:
Error: SSL peer certificate or SSH remote key was not OK
If they turn off the SSL validation, everything will work fine. but I can’t ask my clients to do that!
- My webservice endpoint is somethings like
"https://mydomainname:8443/tapi/login", i used domainname not direct IP.
- I tripple checked the node js code, i’m 100% sure that the code is ok.
I’ve been dealing with this issue for about ten days.
Thank you in advance.