So i have a weird error, ive got 2 webserver programs, one running front end websites (using http2) and another running a file hosting service (using http1), for some reason i cant curl from the http2 server but i can from the http1 server. They both work in my web browser (google chrome dev). Honestly i have no clue whats causing this, they use the same certificate. I got some links below for examples:
http1 (curl working): https://fs.kcgdnetwork.cf:2028/file/CyHLeuevauHKHIg0np2lS4b-3bPr/test_file.txt
http2 (curl giving certificate error): https://main.kcgdnetwork.cf/kcgdnet/ <-- yes this is the right page
this is the curl error i got: curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed
also neither of the links work curling from the server, gives this error: (60) SSL certificate problem: unable to get local issuer certificate
the server is running linux mint 19 Tara 64 bit and i was testing from windows 10, the webserver program is a custom built webserver in node, any suggestions would be really appreciated!