This topic has not yet been rated - Rate this topic

HTTP_SERVICE_CONFIG_SSL_SNI_KEY structure

The HTTP_SERVICE_CONFIG_SSL_SNI_KEY structure serves as the key by which a given Secure Sockets Layer (SSL) Server Name Indication (SNI) certificate record is identified in the SSL SNI store. This structure allows wildcard endpoint bindings in support of SNI. It appears in the HTTP_SERVICE_CONFIG_SSL_SNI_SET and the HTTP_SERVICE_CONFIG_SSL_SNI_QUERY structures, and is passed as the pConfigInformation parameter to HttpDeleteServiceConfiguration, HttpQueryServiceConfiguration, and HttpSetServiceConfiguration when the ConfigId parameter is set to HttpServiceConfigSslSniCertInfo.

Syntax


typedef struct _HTTP_SERVICE_CONFIG_SSL_SNI_KEY {
  SOCKADDR_STORAGE IpPort;
  PWSTR            Host;
} HTTP_SERVICE_CONFIG_SSL_SNI_KEY, *PHTTP_SERVICE_CONFIG_SSL_SNI_KEY;

Members

IpPort

A SOCKADDR_STORAGE structure that contains the Internet Protocol version 4 (IPv4) address with which this SSL SNI certificate is associated. It must be set to the IPv4 wildcard address of type SOCKADDR_IN with ss_family set to AF_INET and sin_addr filled with zeros. Port can be any valid port.

Host

A pointer to a null-terminated Unicode UTF-16 string that represents the hostname. If Hostis " *" a wildcard endpoint binding will be created and implicit bindings will be enabled for the port specified in IpPort.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Http.h

See also

HTTP_SERVICE_CONFIG_SSL_SNI_QUERY
HTTP_SERVICE_CONFIG_SSL_SNI_SET
HttpDeleteServiceConfiguration
HttpQueryServiceConfiguration
HttpSetServiceConfiguration

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.