curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Verify CA Certificate on MariaDB/MySQL

From: mai8Iex5 via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 14 Apr 2020 13:08:52 +0200

Hello List!

Is it possible to verify a ca certificate of a MariaDB or MySQL instance with
curl/libcurl?

I'm looking for something similar as:
openssl s_client -connect srv.addr.tld:3306 -starttls mysql -showcerts -CAfile
./ca.pem -partial_chain

So far I tried the following curl command:
curl -Iv srv.addr.tld:3306 --ssl-reqd --cacert ./ca.pem

...but the output lacks the whole TLS stuff.

Thanks & kind regards
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-04-14