Lines Matching refs:ca_cert
517 "Failed to add ca_cert to OpenSSL "
1080 static int tls_load_ca_der(void *_ssl_ctx, const char *ca_cert)
1094 if (!X509_LOOKUP_load_file(lookup, ca_cert, X509_FILETYPE_ASN1)) {
1112 const char *ca_cert, const u8 *ca_cert_blob,
1162 if (ca_cert && strncmp("keystore://", ca_cert, 11) == 0) {
1163 BIO *bio = BIO_from_keystore(&ca_cert[11]);
1189 if (ca_cert && tls_cryptoapi_ca_cert(ssl_ctx, conn->ssl, ca_cert) ==
1198 if (ca_cert || ca_path) {
1200 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, ca_path) !=
1204 if (ca_cert &&
1205 tls_load_ca_der(ssl_ctx, ca_cert) == 0) {
1223 /* No ca_cert configured - do not try to verify server
1232 static int tls_global_ca_cert(SSL_CTX *ssl_ctx, const char *ca_cert)
1234 if (ca_cert) {
1235 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, NULL) != 1)
1248 SSL_load_client_CA_file(ca_cert));
2291 if (tls_connection_ca_cert(tls_ctx, conn, params->ca_cert,
2342 if (tls_global_ca_cert(ssl_ctx, params->ca_cert))