Home
last modified time | relevance | path

Searched refs:servername (Results 1 – 18 of 18) sorted by relevance

/openssl/doc/man3/
H A DSSL_CTX_set_tlsext_servername_callback.pod31 the servername extension received in the incoming connection. When B<cb>
34 The servername callback should return one of the following values:
42 up a different configuration for the selected servername in this case.
71 In particular note that in TLSv1.3 the servername is negotiated in every
80 will return that servername.
84 it will return that servername.
92 server then it will return that servername.
111 will return that servername, or NULL otherwise.
116 The function will return the servername requested by the client in this
123 a servername extension from the client is processed.
[all …]
H A DSSL_CTX_set_client_hello_cb.pod100 not use a servername callback, in order to avoid unexpected behavior that
102 resumption and the historical servername callback.
H A DSSL_CTX_set_alpn_select_cb.pod144 The ALPN callback is executed after the servername callback; as that servername
/openssl/test/helpers/
H A Dhandshake.c60 ssl_servername_t servername; member
108 if (servername == NULL) { in select_server_ctx()
109 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx()
113 if (strcmp(servername, "server2") == 0) { in select_server_ctx()
124 ex_data->servername = SSL_TEST_SERVERNAME_SERVER2; in select_server_ctx()
126 } else if (strcmp(servername, "server1") == 0) { in select_server_ctx()
127 ex_data->servername = SSL_TEST_SERVERNAME_SERVER1; in select_server_ctx()
140 const char *servername; in client_hello_select_server_ctx() local
175 servername = (const char *)p; in client_hello_select_server_ctx()
191 HAS_PREFIX(servername, "server1")) { in client_hello_select_server_ctx()
[all …]
H A Dhandshake.h44 ssl_servername_t servername; member
H A Dssl_test_ctx.h102 ssl_servername_t servername; member
H A Dssl_test_ctx.c217 client_conf->servername = ret_value; in parse_servername()
/openssl/test/
H A Dssl_test_ctx_test.c40 || !TEST_int_eq(conf1->servername, conf2->servername) in clientconf_eq()
181 fixture->expected_ctx->extra.client.servername = SSL_TEST_SERVERNAME_SERVER2; in test_good_configuration()
H A Dssl_test.c126 if (!TEST_int_eq(result->servername, test_ctx->expected_servername)) { in check_servername()
129 ssl_servername_name(result->servername)); in check_servername()
H A Dssl_old_test.c212 const char *servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); in servername_cb() local
218 if (servername) { in servername_cb()
220 !OPENSSL_strcasecmp(servername, sn_server2)) { in servername_cb()
/openssl/apps/
H A Ds_client.c909 const char *servername = NULL; in s_client_main() local
1502 servername = opt_arg(); in s_client_main()
1603 if (servername != NULL) { in s_client_main()
1651 if (servername == NULL && !noservername) { in s_client_main()
1652 servername = sname_alloc = OPENSSL_strdup(host); in s_client_main()
2115 if (!noservername && (servername != NULL || dane_tlsa_domain == NULL)) { in s_client_main()
2116 if (servername == NULL) { in s_client_main()
2118 servername = (host == NULL) ? "localhost" : host; in s_client_main()
2120 if (servername != NULL && !SSL_set_tlsext_host_name(con, servername)) { in s_client_main()
H A Ds_server.c417 char *servername; member
425 const char *servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); in ssl_servername_cb() local
427 if (servername != NULL && p->biodebug != NULL) { in ssl_servername_cb()
428 const char *cp = servername; in ssl_servername_cb()
438 if (p->servername == NULL) in ssl_servername_cb()
441 if (servername != NULL) { in ssl_servername_cb()
442 if (OPENSSL_strcasecmp(servername, p->servername)) in ssl_servername_cb()
1607 tlsextcbp.servername = opt_arg(); in s_server_main()
1825 if (tlsextcbp.servername != NULL) { in s_server_main()
/openssl/doc/man1/
H A Dopenssl-s_server.pod.in51 [B<-servername>]
224 The certificate file to use for servername; default is C<server2.pem>.
259 The private Key file to use for servername if not given via B<-cert2>.
451 =item B<-servername>
457 On servername mismatch send fatal alert (default: warning alert).
H A Dopenssl-s_client.pod.in24 [B<-servername> I<name>]
227 =item B<-servername> I<name>
231 If B<-servername> is not provided, the TLS SNI extension will be populated with
237 B<-servername> is provided then that name will be sent, regardless of whether
245 ClientHello message. Cannot be used in conjunction with the B<-servername> or
976 openssl s_client -connect servername:443
H A Dopenssl-s_time.pod.in142 …openssl s_time -connect servername:443 -www / -CApath yourdir -CAfile yourfile.pem -cipher commonc…
/openssl/crypto/err/
H A Dopenssl.txt1581 SSL_R_SSL3_EXT_INVALID_SERVERNAME:319:ssl3 ext invalid servername
1582 SSL_R_SSL3_EXT_INVALID_SERVERNAME_TYPE:320:ssl3 ext invalid servername type
/openssl/
H A DNEWS.md908 * Modify behavior of ALPN to invoke callback after SNI/servername
1009 * Modify behavior of ALPN to invoke callback after SNI/servername
H A DCHANGES.md4493 using "-servername".
5306 * Modify behavior of ALPN to invoke callback after SNI/servername
6963 * Modify behavior of ALPN to invoke callback after SNI/servername
8165 * Modify behavior of ALPN to invoke callback after SNI/servername
11054 openssl s_client has a new '-servername ...' option.
11256 servername handling. Use a non-zero length session ID when attempting
11761 openssl s_client has a new '-servername ...' option.

Completed in 235 milliseconds