mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
c29b5be312
# # [DOC] # # New SSL context options : # # - SNI_enabled : Set to FALSE to disable SNI support (enabled by default) # - SNI_server_name : If not set, the server name will be guessed from the # stream URL (e.g. https://example.com/ will use example.com as hostname.), # else the given name will be used. # # SNI is to SSL/TLS what the Host header is for HTTP : it allows multiple # certificates on the same IP address. # # As for HTTP virtual hosts, this should be totaly transparent in most cases. # # Context options allows more control, e.g. : # # $context = stream_context_create(array( # 'ssl' => array('SNI_server_name' => 'foo.example.com'), # 'http' => array('header' => 'Host: foo.example.com'), # )); # file_get_contents('https://127.0.0.1/', false, $context); # # OpenSSL >= 0.9.8j supports SNI (by default since OpenSSL 0.9.8k). |
||
---|---|---|
.. | ||
001.phpt | ||
002.phpt | ||
003.phpt | ||
004.phpt | ||
005_crt.txt | ||
005.phpt | ||
006.phpt | ||
007.phpt | ||
008.phpt | ||
009.phpt | ||
011.phpt | ||
012.phpt | ||
013.phpt | ||
014.phpt | ||
015.phpt | ||
016.phpt | ||
017.phpt | ||
018.phpt | ||
019.phpt | ||
021.phpt | ||
022.phpt | ||
023.phpt | ||
024.phpt | ||
025.phpt | ||
bug25614.phpt | ||
bug28382.phpt | ||
bug28382cert.txt | ||
bug36732.phpt | ||
bug37820.phpt | ||
bug37820cert.pem | ||
bug37820key.pem | ||
bug38255.phpt | ||
bug38261.phpt | ||
bug39217.phpt | ||
bug39217cert1.txt | ||
bug39217cert2.txt | ||
bug41033.pem | ||
bug41033.phpt | ||
bug41033pub.pem | ||
bug41353.phpt | ||
bug46127.pem | ||
bug46127.phpt | ||
bug47828.phpt | ||
bug48182.phpt | ||
cert.crt | ||
openssl_decrypt_error.phpt | ||
openssl_digest_basic.phpt | ||
openssl_encrypt_error.phpt | ||
openssl_random_pseudo_bytes.phpt | ||
openssl_x509_parse_basic.phpt | ||
private.key | ||
public.key | ||
sni_001.phpt |