Lines Matching refs:ca_cert
467 "Failed to add ca_cert to OpenSSL "
1061 static int tls_load_ca_der(void *_ssl_ctx, const char *ca_cert)
1075 if (!X509_LOOKUP_load_file(lookup, ca_cert, X509_FILETYPE_ASN1)) {
1094 const char *ca_cert, const u8 *ca_cert_blob,
1144 if (ca_cert && strncmp("keystore://", ca_cert, 11) == 0) {
1145 BIO *bio = BIO_from_keystore(&ca_cert[11]);
1171 if (ca_cert && tls_cryptoapi_ca_cert(ssl_ctx, conn->ssl, ca_cert) ==
1180 if (ca_cert || ca_path) {
1182 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, ca_path) !=
1186 if (ca_cert &&
1187 tls_load_ca_der(ssl_ctx, ca_cert) == 0) {
1205 /* No ca_cert configured - do not try to verify server
1214 static int tls_global_ca_cert(SSL_CTX *ssl_ctx, const char *ca_cert)
1216 if (ca_cert) {
1217 if (SSL_CTX_load_verify_locations(ssl_ctx, ca_cert, NULL) != 1)
1230 SSL_load_client_CA_file(ca_cert));
2455 } else if (tls_connection_ca_cert(tls_ctx, conn, params->ca_cert,
2506 if (tls_global_ca_cert(ssl_ctx, params->ca_cert))