Lines Matching refs:cert
409 static int tls_match_altsubject(X509 *cert, const char *match)
417 ext = X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL);
538 wpa_printf(MSG_DEBUG, "Failed to read CA cert '%s' "
545 wpa_printf(MSG_DEBUG, "Failed to read CA cert "
573 wpa_printf(MSG_DEBUG, "Failed to read client cert/key "
580 "cert/key in DER format: %s",
648 wpa_printf(MSG_DEBUG, "Failed to read CA cert '%s' "
655 wpa_printf(MSG_DEBUG, "Failed to read CA cert "
684 wpa_printf(MSG_DEBUG, "Failed to read client cert/key "
691 "cert/key in DER format: %s",
811 gnutls_x509_crt_t cert;
868 if (gnutls_x509_crt_init(&cert) < 0) {
875 if (gnutls_x509_crt_import(cert, &certs[i],
879 gnutls_x509_crt_deinit(cert);
884 gnutls_x509_crt_get_dn(cert, NULL, &len);
889 gnutls_x509_crt_get_dn(cert, buf, &len);
891 wpa_printf(MSG_DEBUG, "TLS: Peer cert chain %d/%d: %s",
900 if (gnutls_x509_crt_get_expiration_time(cert) < now.sec ||
901 gnutls_x509_crt_get_activation_time(cert) > now.sec) {
905 gnutls_x509_crt_deinit(cert);
910 gnutls_x509_crt_deinit(cert);