Article ID: 947026 - Last Review: January 31, 2008 - Revision: 1.2 How an IIS Web server and a Secure Socket Tunneling Protocol (SSTP)-based Routing and Remote Access server can co-exist on a Windows Server 2008-based serverBeta InformationThis article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release. Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows XP and Windows Vista On This PageINTRODUCTIONThis article describes the following topics:
MORE INFORMATIONSecure Socket Tunneling Protocol (SSTP) is a VPN tunnel that is added to the Routing and Remote Access service in Windows Server 2008 and in Windows Vista Service Pack 1 (SP1). SSTP enables Point-to-Point Protocol (PPP) packets to be encapsulated over HTTP. When encapsulated PPP packets over SSTP are enabled, VPN connections can be established through Web proxies. Additionally, VPN connections can be established more easily through firewalls and through Network Address Translation (NAT) devices. In a scenario where you have configured an IIS Web server and a SSTP-based Routing and Remote Access server on the same Windows Server 2008-based server, you may notice that VPN connections to the SSTP-based Routing and Remote Access server cannot be established. The reason is that both the IIS Web server and the SSTP-based Routing and Remote Access server use different certificates to establish HTTPS connections. The following two important procedures must occur to enable both an IIS Web server and a SSTP-based Routing and Remote Access server to co-exist on the same Windows Server 2008-based server:
Session demultiplexingSession demultiplexing is the process where it is decided which HTTPS connection request is made to the Routing and Remote Access server and which HTTPS connection request is made to the IIS Web server. The SSTP- based Routing and Remote Access server listens for the HTTPS request that is made by a VPN client on a fixed URI. If you have configured IIS on the same server, IIS communicates to the HTTPS Listener, and IIS retrieves requests from rest of the URIs.Certification selectionWhen a certificate selection occurs, the selection is based on the following scenarios:
Scenario 1In Scenario 1, a VPN client tries to establish a connection to the STTP-based Routing and Remote Access server by using an IPv4 or and IPv6 address. However, the connection is not established. This is because the IIS Web server can only bind the certificate to the 0.0.0.0:443 listener. When you configure SSTP after you configure the IIS Web server, SSTP cannot set up the [::]:443 listener. Additionally, SSTP cannot configure the Sha256 hash in the registry. In this scenario, the following error message is logged in the System event log of the VPN client:The Secure Socket Tunneling Protocol service either could not read the SHA256 certificate hash from the registry or the data is invalid. To be valid, the SHA256 certificate hash must be of type REG_BINARY and 32 bytes in length. SSTP might not be able to retrieve the value from the registry due to some other system failure. The detailed error message is provided below. SSTP connections will not be accepted on this server. Correct the problem and try again.
Scenario 2In Scenario 2, the listener is set up successfully with the Server Authentication or the All purpose certificate that is issued for 0.0.0.0:443 and for [::]:443. The Sha256 hash is also added in the registry for the SSTP-based Routing and Remote Access server when the IIS Web server is binding the certificate to a specific IP address and port combination. In Scenario 2, the following two sub-scenarios are possible:
Scenario 3In Scenario 3, the certificate that is used by the SSTP-based Routing and Remote Access server and by the IIS Web server is same. In this scenario, a VPN client can successfully establish a connection with the SSTP-based Routing and Remote Access server. For example, if the SSTP-based Routing and Remote Access server uses a certificate named Cert 1, and the IIS Web server also uses the same certificate that is called Cert 1, VPN connections are successful.Scenario 4In Scenario 4, the certificate that the SSTP-based Routing and Remote Access server uses differs from the certificate that the IIS Web server uses. If a VPN client tries to connect from an IP address that is specified in the IIS Web server’s certificate, the client receives the certificate that the IIS Web server issued. This occurs during the SSL hand-shake phase of the SSTP connection process. Then, the client tries to perform crypto-binding validation for this certificate during the PPP authentication phase. But the SSTP-based Routing and Remote Access server expects the crypto-binding validation to be performed on the certificate that the SSTP- based Routing and Remote Access server uses. In this scenario, the VPN client cannot establish a VPN connection with the SSTP-based Routing and Remote Access server.For example, assume that the following conditions are true:
The client then computes the crypto-binding based on Cert 1 during the PPP authentication phase. But the SSTP-based Routing and Remote Access server is expecting crypto-binding that is based on Cert 2. At this point, the VPN client is unable to establish a VPN connection with the SSTP-based Routing and Remote Access server because of the differences in the certificates that are used. Additionally, an error message that resembles the following is logged in the System event log of the VPN client: The SSTP-based VPN connection to the remote access server was terminated because of a security check failure. Security settings on the remote access server do not match settings on this computer. Contact the system administrator of the remote access server and relay the following information:
How to modify the certificate hash valueWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To issue the IIS Web server certificate to the [::]:443 listener and to configure the Sha256 hash in the registry, follow these steps:
To replace the certificate hash value of the SSTP-based Routing and Remote Access server certificate with the certificate hash value of the IIS Web server certificate, follow these steps:
| Article Translations
|
Back to the top
