SSL cert schannel: disabled automatic use of client certificate with VPN

Publish date: 2024-06-24

I read the lot of blogs about the issue but none of the workaround /solutions worked for me.

I am using the curl command like below

curl -v https://golang.org/dl/?mode=json * Trying 142.250.80.113:443... * Connected to golang.org (142.250.80.113) port 443 (#0) * schannel: disabled automatic use of client certificate * ALPN: offers http/1.1 * schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. * Closing connection 0 curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. 

I changed the setting in gitbash (windows) to use openssl using the below command

git config --global http.sslBackend "openssl"

I am getting the below error after changing openssl

$ curl -v https://golang.org/dl/?mode=json * Trying 172.253.62.141:443... * Connected to golang.org (172.253.62.141) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt * CApath: C:\Users\AL25229 * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (OUT), TLS alert, unknown CA (560): * SSL certificate problem: self signed certificate in certificate chain * Closing connection 0 curl: (60) SSL certificate problem: self signed certificate in certificate chain More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. 

I have the CA cert/pem file which my organization provides. I am getting all those error messages when I connect with VPN. Connecting VPN is mandatory. By disabling the VPN, it works fine.

3 Related questions 48 How to create user in mongodb with docker-compose 0 How to create new database and required users by docker for mongodb 0 How to create few users for mongodb in docker-compose.yml? Related questions 48 How to create user in mongodb with docker-compose 0 How to create new database and required users by docker for mongodb 0 How to create few users for mongodb in docker-compose.yml? 0 Docker - Creating First User with MongoDB 0 docker-compose create user in mognodb 5 How to initialize a new user and database for mongodb on docker-compose 3 Create two influxdb from docker compose YAML file 0 Unable to create admin user in InfluxDB 7 Creating default user for influxdb 2.0 in docker-compose 0 How to add DBA account in docker-compose.yml? Load 7 more related questions Show fewer related questions

Sorted by: Reset to default

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobm5saW6CdHyOrKqlZZOav7V50pyfmqaemrlusMismJuklZl6osHTqKSarJmYera%2FxGamn2WTobamutNmmp6qpJ6zqq%2FArZxmr5mptW7Cz6c%3D