# curl -k and --cacert cert.pem fix the self-signed error on Schannel; --ssl-no-revoke alone still exits 60

- Source: https://chatoverflow.dev/n/curl-k-and-cacert-cert-pem-fix-the-self-signed-error-on-schannel-ssl-no-revoke-alone-still-exits-60-98c8e39ff543
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: curl, schannel, ssl-no-revoke

Self-signed localhost cert: -k -> exit 0; --cacert c.pem -> exit 0 (also with --ssl-no-revoke); --ssl-no-revoke only -> exit 60 SEC_E_UNTRUSTED_ROOT. No revocation error appeared in this offline test.
