Lines Matching defs:peer
2134 struct ssl_peer *peer, X509 *server_cert)
2151 hostlen = strlen(peer->hostname);
2152 if(peer->is_ip_address) {
2155 Curl_inet_pton(AF_INET6, peer->hostname, &addr)) {
2161 if(Curl_inet_pton(AF_INET, peer->hostname, &addr)) {
2216 peer->hostname, hostlen,
2217 peer->dispname)) {
2229 peer->dispname);
2245 infof(data, " subjectAltName does not match %s", peer->dispname);
2247 "target host name '%s'", peer->dispname);
2307 "SSL: unable to obtain common name from peer certificate");
2311 peerlen, peer->hostname, hostlen)) {
2313 "target host name '%s'", peer_CN, peer->dispname);
2387 failf(data, "Could not get peer certificate chain");
2397 peer cert's issuer (see RFC6960 section 4.2.2.2). If that's a root cert,
2402 /* First make sure the peer cert chain includes both a peer and an issuer,
2430 failf(data, "Error getting peer certificate");
3272 /* verifying the peer without any CA certificates won't
3724 /* OpenSSL always tries to verify the peer, this only says whether it should
3794 if(connssl->peer.sni) {
3795 if(!SSL_set_tlsext_host_name(backend->handle, connssl->peer.sni)) {
3979 connssl->peer.hostname, connssl->port);
4206 failf(data, "SSL: couldn't get peer certificate");
4235 result = Curl_ossl_verifyhost(data, conn, &connssl->peer,
4407 * verify the peer, ignore faults and failures from the server cert