<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Routing and Remote Access Blog : SSTP, Troubleshooting</title><link>http://blogs.technet.com/rrasblog/archive/tags/SSTP/Troubleshooting/default.aspx</link><description>Tags: SSTP, Troubleshooting</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to debug SSTP specific connection failures</title><link>http://blogs.technet.com/rrasblog/archive/2007/09/26/how-to-debug-sstp-specific-connection-failures.aspx</link><pubDate>Wed, 26 Sep 2007 14:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2051048</guid><dc:creator>rrasblog</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/rrasblog/comments/2051048.aspx</comments><wfw:commentRss>http://blogs.technet.com/rrasblog/commentrss.aspx?PostID=2051048</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Hi All,&amp;nbsp;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;To all our beta testers who are trying out SSTP, first of all "many many&amp;nbsp;thanks from my RRAS team". This&amp;nbsp;post talks about how to debug failures specific to SSTP based VPN tunnel &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;(&lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Note&lt;/SPAN&gt;&lt;/STRONG&gt;: I am not discussing all the error codes displayed on RAS client - as&amp;nbsp;most&amp;nbsp;error codes&amp;nbsp;will be common across all VPN tunnels i.e. PPTP, L2TP, SSTP - like when remote access policy fails or authentication fails or server doesn’t support required port etc).&lt;BR&gt;&lt;BR&gt;The common failure scenarios when the the VPN client is not able to connect to SSTP server and gets different error codes are:&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom1&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x800704C9&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This can happen if either &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;remote access is disabled&lt;/SPAN&gt;&lt;/EM&gt; on the server OR &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;no SSTP ports&lt;/SPAN&gt;&lt;/EM&gt; are free on the server OR server is not listening on the appropriate port number. Ensure remote access and SSTP services are running on the server by running following commands on command prompt: “sc query remoteaccess” and “sc query sstpsvc”. If they are disabled, start it using RRAS MMC snap-in or services snap-in. Ensure RRAS server has sufficient number of ports configured – open RRAS MMC Snap-in, go under Ports-&amp;gt;Properties and see SSTP ports. Check whether it is listening on correct port number by running following command on command prompt: netstat –aon&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom2&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x80070040&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This can happen if the &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;server authentication certificate is not installed&lt;/SPAN&gt;&lt;/EM&gt; on the RRAS server. Open MMC certificate snap-in for “Computer Store” on the server side, go under “Personal”-&amp;gt;”Certificates” and see if the appropriate certificate of type “Server Authentication” is installed.&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom3&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x800B0101&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This can happen if the &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;server authentication certificate is expired&lt;/SPAN&gt;&lt;/EM&gt;. Open MMC certificate snap-in for “Computer Store” on the server side, go under “Personal”-&amp;gt;”Certificates” and see if the appropriate certificate is valid and not expired. If expired, renew the certificate&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom4&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x800B0109&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This can happen if the &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;appropriate trusted root CA certificate server is not installed&lt;/SPAN&gt;&lt;/EM&gt; &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;on the client side&lt;/SPAN&gt;&lt;/EM&gt;. This certificate normally gets installed if you join the machine to the domain and using the domain credentials to log-on to VPN server. But if you are using some other certificate chain OR this machine is not joined to correct domain (like a home machine), then it is possible. &lt;BR&gt;Open MMC certificate snap-in for “Computer Store” on the client side, go inside “Trusted Root Certificate Authorities” and check whether relevant CA is installed. If not, install the same. &lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom5&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x800B010F&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This can happen if the &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;destination hostname in VPN connection&lt;/SPAN&gt;&lt;/EM&gt; (i.e. VPN server name) &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;does not match the SSL server certificate subject name&lt;/SPAN&gt;&lt;/EM&gt; sent from server to client. Open MMC certificate snap-in for “Computer Store” on the server side, go under “Personal”-&amp;gt;”Certificates” and see if the appropriate certificate with correct subject name (i.e. matching the VPN server name) is correct. If you are using the destination name as IPv4 or IPv6 address on the VPN client, then you need to install the appropriate certificate (i.e. subject name = IP address) on the server side. If you are using destination name as DNS based hostname, then you need to install the appropriate certificate (i.e. subject name = full name with which client connects).&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Symptom6&lt;/U&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;0x80092013&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;Trouble-shooting steps: This will happen if &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;client is failing the certificate revocation check&lt;/SPAN&gt;&lt;/EM&gt; of the SSL certificate obtained from server side. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;This can happen because of two reasons:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;a) Ensure the CRL check servers on the server side are exposed on the Internet (i.e. are available on the Internet). This is because CRL check is done on the client side during SSL connection establishment phase and the CRL check query will be directly going on the Internet (and not on top of VPN connection because it is not up yet).&lt;BR&gt;b) CRL URL that is set inside the machine certificate on RRAS server is pointing to the internal DNS name (e.g. myvpn.contoso.local) and not the external name &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;(special thanks to one of our esteemed customers, Bill Voltmer, in pointing this out).&lt;/SPAN&gt;&lt;/STRONG&gt; To validate this, open the certificate snap-in on your RRAS server, go to details tab and look at "CRL distribution point" field. &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;To fix this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open Server Manager and navigate to Roles, Active Directory Certificate Services&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right click on CA name (e.g. mycompany-vpn1-CA) and choose Properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click Extensions tab.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select the pre-existing http: URL and click Remove.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click Add…&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type http://&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type external URL of VPN server&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type CertEnroll/&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Insert variable &amp;lt;CaName&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;10.&amp;nbsp; Insert variable &amp;lt;CRLNameSuffix&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;11.&amp;nbsp; Insert variable &amp;lt;DeltaCRLAllowed&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;12.&amp;nbsp; Type .crl&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -18pt; MARGIN-LEFT: 36pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;13.&amp;nbsp; Check boxes Include in CRLs… and Include in the CDP…&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;The above should be done before SSTP VPN is configured on RRAS.&amp;nbsp;Or if it is already configured, change the machine certificate by following &lt;A href="http://blogs.technet.com/rrasblog/archive/2007/11/08/do-you-want-to-change-the-certificate-used-by-the-sstp-server-read-how.aspx"&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;&lt;/A&gt; blog.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;Symptom7&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;: Client tries to connect to SSTP VPN server and it fails to connect giving error message &lt;STRONG&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;809&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR&gt;These are the trouble-shooting steps because reasons can be multi-fold&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;a) This can happen if any firewall between client and server is blocking the SSTP connection. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;b) check the proxy settings on the client (i.e. open the Internet explorer and go under inside Tools-&amp;gt;Internet Options-&amp;gt;Connections) and see if it is correct – you can also check to see if you are able to access other Internet sites.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;BR&gt;c)&amp;nbsp; This can also happen if SSTP service or remote access service is stopped on the RRAS server side. Ensure remote access and SSTP services are running on the server by running following commands on command prompt: sc query remoteaccess and sc query sstpsvc. If they are stopped, start it using RRAS MMC snap-in or services snap-in.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;d)&amp;nbsp;Ensure SSTP service is listening on TCP port 443 (or the appropriate port number on which you have configured) by running “netstat –aon | findstr 443”. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;e) See the server certificate plumbed to http.sys using “netsh http show sslcert”. See the IP address and port number of the certificate – RRAS reads only ::0 or 0.0.0.0. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;f)&amp;nbsp; Ensure the same server certificate is present in the machine store by opening MMC certificate snap-in for “Computer Store” and going under “Personal” certificate. Ensure that certificate is valid and not expired.&lt;BR&gt;Ensure the same certificate hash is present under Sha256CertificateHash or Sha1CertificateHash regkeys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;g) Ensure RRAS inbound/outbound filters are not blocking SSTP connections. Open RRAS MMC Snap-in, go under IPv4-&amp;gt;General or IPv6-&amp;gt;General. Select the appropriate interface and see the properties-&amp;gt;Inbound/Outbound filters. See if the appropriate port number (default TCP port 443) is enabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;h) Ensure Windows firewall is not blocking SSTP connections. Open Firewall and see if SSTP is added to exception.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;i) Ensure some other firewall infront of RRAS server is not dropping the connection (i.e. TCP port 443 connection are blocked towards RRAS server). Revisit your network topology.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;j) Look for the events inside eventvwr and look for events from remote access and SSTP service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;If you cannot still figure out, feel free to contact us at our blog email alias given above&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;With Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;Samir Jain&lt;BR&gt;Lead Program Manager (&lt;A href="mailto:samirj@online.microsoft.com" mce_href="mailto:samirj@online.microsoft.com"&gt;&lt;SPAN style="COLOR: #4271d6"&gt;samirj@online.microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;**)&lt;BR&gt;RRAS, Windows Enterprise Networking&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;** Remove the "online" to actually email me&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ansi-language: EN-US; mso-bidi-font-family: Arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin" lang=EN-US&gt;[This posting is provided "AS IS" with no warranties, and confers no rights.]&lt;/SPAN&gt;&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-1700161-11");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2051048" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rrasblog/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://blogs.technet.com/rrasblog/archive/tags/SSTP/default.aspx">SSTP</category></item><item><title>Setting up the SSTP listener and verifying it</title><link>http://blogs.technet.com/rrasblog/archive/2007/03/07/configuration-of-sstp-listener-and-verification.aspx</link><pubDate>Tue, 06 Mar 2007 22:03:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:679148</guid><dc:creator>rrasblog</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.technet.com/rrasblog/comments/679148.aspx</comments><wfw:commentRss>http://blogs.technet.com/rrasblog/commentrss.aspx?PostID=679148</wfw:commentRss><description>&lt;P&gt;&amp;nbsp;We have seen the steps to configure a SSTP server in one of the previous posts. However, we will concentrate on on aspect of the configuration in this post in detail and the most important one too, because without this your server is not yet ready to accept SSTP connections - &lt;EM&gt;Setting up the SSTP listener and verifying if it is set up correctly&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As all of you know, SSTP works over HTTPS and so the SSTP listener that Routing and Remote Access Server sets up is very similar to a HTTPS site that you create using IIS. When you create a HTTPS site in IIS, you specify the IP address to listen on (default is INADDR_ANY), port to listen on and also the web server certificate that should be bound to the HTTPS site. Once you do this, a HTTPS listener is setup for the IP:port pair you specified and the certificate you specified to that IP:port pair.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;Now, a similar thing happens when you configure Routing and Remote Access server using the steps given in the previous post. The HTTPS listener is setup. The IP:port pair on which it is setup and the certificate it binds to the listener are as follows:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The IP address for the listener is INADDR_ANY i.e. 0.0.0.0 for IPv4 and [::] for IPv6&lt;/LI&gt;
&lt;LI&gt;The default port used is 443. However you can change this value to a different port using the registry value 'ListenerPort' at HKEY\Local&amp;nbsp; Machine\System\CurrentControlSet\Services\SstpSvc\Parameters to the desired value if needed.&lt;/LI&gt;
&lt;LI&gt;For the certificate to bind to this listener, it looks in the Local Computer --&amp;gt; Personal store and picks up the first valid certificate that is returned while querying the certificates in the store.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A valid certificate should satisfy the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; Enhanced key usage(EKU) should be either 'Server Authentication' or 'All purpose' &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; The certificate should have a private key&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also, a certificate with EKU 'Server authentication' is preferred over a certificate with EKU 'All purpose'&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp; As the certificate is mandatory to setup a HTTPS listener, if there is no valid certificate in the Local Computer --&amp;gt;Personal store when Routing and Remote Access starts, the listener will not be setup. And hence SSTP connections cannot be established to the server. This will be informed to the user through an event log.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;Also, it is very important to see that the correct certificate is bound to the listener if there are more than one valid certificates in the Local Computer --&amp;gt; Personal store. This is because, the server sends this certificate bound to the listener to the client when it connects, just as it happens when we access HTTPS sites. When we access HTTPS sites, if the name of the website on the certificate i.e. its subject name is not the same as what we typed in the address bar, we get a warning as below:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;&lt;EM&gt;"There is a problem with this website's security certificate.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The security certificate presented by this website was issued for a different website's address.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.&lt;/ID&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;We recommend that you close this webpage and do not continue to this website. "&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The same can occur in the case of SSTP also. If we have a certificate whose subject name is say 'ServerName1' bound to the SSTP listener and we use the name 'ServerName2'&amp;nbsp;for hostname in the client's VPN connection, then the certificate returned to the client will not have the subject name that it expects.&lt;/P&gt;
&lt;P&gt;In the case of HTTPS sites, Internet explorer gives us the choice of continuing to the site inspite of knowing the security issue.&amp;nbsp;However, in the case of SSTP connections, this might pose a greater risk as you are exposed to the full network access through the tunnel. If the subject name of the certificate does not match the hostname specified, the SSTP VPN connection cannot be established.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Troubleshooting the listener:&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Keeping all the above points in mind, these are the issues that can occur&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;Default port - Is TCP port listening?&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;No valid certificate to bind to the listener&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;More than one valid certificate. Should check if the right one was picked up&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;The listener port specified is not available&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;Lets take up each one of these separately.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;Default port - Is TCP port listening?&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;On a command prompt, type the command 'netstat -aon |findstr 443'. If you see the below line displayed, then the TCP port is listening for HTTPS requests. You can go to the next step now.&lt;/P&gt;
&lt;P mce_keep="true"&gt;TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; [::]:443&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [::]:0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTENING&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;No valid certificate to bind to the listener&lt;/U&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;On a command prompt, type the command, 'netsh http show sslcert'. If you see the message that there are no SSL certificate bindings, then it means that there was no valid certificate for SSTP to bind to the listener. &lt;/P&gt;
&lt;P mce_keep="true"&gt;Look at the event viewer (Start --&amp;gt; Run --&amp;gt; eventvwr) under Windows Logs --&amp;gt; System for any log from RasSSTP. You will see an event if this was the case.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Install a valid certificate in the Local Computer --&amp;gt; Personal store and then restart the Routing and Remote Access server configuration.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;U&gt;More than one valid certificate. Should check if the right one was picked up&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;On a command prompt, type the command, 'netsh http show sslcert'. If a certificate is bound to the listener, you will see a message as below.&lt;/P&gt;
&lt;P&gt;SSL Certificate bindings:&lt;BR&gt;-------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP:port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0.0.0.0:443&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Hash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : c14e9c7ffe2f292ef4367eed10317f4c1ba20df0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;STRONG&gt;{ba195980-cd49-458b-9e23-c84ee0adcd75}&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Store Name&amp;nbsp; : MY&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify Client Certificate Revocation&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify Revocation Using Cached Client Certificate Only&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Usage Check&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revocation Freshness Time : 0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL Retrieval Timeout&amp;nbsp;&amp;nbsp; : 0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ctl Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ctl Store Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DS Mapper Usage&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Negotiate Client Certificate&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP:port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : [::]:443&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Hash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : c14e9c7ffe2f292ef4367eed10317f4c1ba20df0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;STRONG&gt; {ba195980-cd49-458b-9e23-c84ee0adcd75}&lt;/STRONG&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Certificate Store Name&amp;nbsp; : MY&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify Client Certificate Revocation&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verify Revocation Using Cached Client Certificate Only&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Usage Check&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revocation Freshness Time : 0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL Retrieval Timeout&amp;nbsp;&amp;nbsp; : 0&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ctl Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ctl Store Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DS Mapper Usage&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Negotiate Client Certificate&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;/P&gt;
&lt;P&gt;If the Application&amp;nbsp;ID is &lt;STRONG&gt;{ba195980-cd49-458b-9e23-c84ee0adcd75}&lt;/STRONG&gt;, then it means that this is a binding added by SSTP. So this&amp;nbsp;command shows that there is a certificate which is bound to&amp;nbsp;0.0.0.0:443&amp;nbsp;IP:port listener and also a certificate which is bound to [::]::443&amp;nbsp;IP:port listener.&amp;nbsp;The certificate&amp;nbsp;hash value specifies which certificate is actually bound. This is the SHA1 certificate hash of the certificate. Here, we see that the SHA1 certificate hash of the certificate is &lt;STRONG&gt;c14e9c7ffe2f292ef4367eed10317f4c1ba20df0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;We will use this hash to verify if the correct certificate has been bound to the listener. &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the&amp;nbsp;Microsoft Management Console (Start --&amp;gt; Run --&amp;gt; mmc). &lt;/LI&gt;
&lt;LI&gt;Add the&amp;nbsp;Local Computer certificates snap-in (Click on File --&amp;gt;Add/Remove snap-in --&amp;gt;Select 'Certificates' from the list of Available snap-ins --&amp;gt; Click on Add --&amp;gt; Select 'Computer account' --&amp;gt; Click on Next --&amp;gt;&amp;nbsp;Ensure 'Local computer' is selected' --&amp;gt; Click on&amp;nbsp;Finish --&amp;gt; OK&lt;/LI&gt;
&lt;LI&gt;Expand the 'Certificates (Local Computer)' node (Doubleclick on the node)&lt;/LI&gt;
&lt;LI&gt;Expand the 'Personal' node ( Doubleclick on the node). Click on 'Certificates' subnode under this.&lt;/LI&gt;
&lt;LI&gt;On the certificates pane, you will see a list of certificates in the store. Doubleclick on the certificate which you want to be bound to the SSTP listener i.e. the certificate with the subject name matching the hostname used in the client VPN connection.&lt;/LI&gt;
&lt;LI&gt;Click on 'Details' tab. Make sure '&amp;lt;All&amp;gt;' is selected in the drop down for 'Show:'&lt;/LI&gt;
&lt;LI&gt;Ensure that&amp;nbsp;the value for the field 'Thumbprint Algorithm' is sha1&lt;/LI&gt;
&lt;LI&gt;Note the value of the field 'Thumbprint'.&lt;/LI&gt;
&lt;LI&gt;Compare to see if this value is the same as the certificate hash we saw in the netsh message.&lt;/LI&gt;
&lt;LI&gt;If it is, then it&amp;nbsp;means that the right certificate has been bound to the listener.&lt;/LI&gt;
&lt;LI&gt;If it is not the same, then some other certificate has been bound to the listener. We can bind the required certificate to the listener using the following commands. These commands will delete the currently cound certificate and bind the certificate the we want to the listeners.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Say, the value of the 'Thumbprint' field for the required certificate is 'xxx', type&amp;nbsp;the following command on an elevated&amp;nbsp;command prompt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netsh http delete sslcert ipport=0.0.0.0:443&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;netsh http delete sslcert ipport=[::]:443&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netsh http add sslcert ipport=0.0.0.0:443 certhash=xxx appid={ba195980-cd49-458b-9e23-c84ee0adcd75} certstorename=MY&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netsh http add sslcert ipport=[::]:443 certhash=xxx appid={ba195980-cd49-458b-9e23-c84ee0adcd75}&amp;nbsp;certstorename=MY&lt;/P&gt;
&lt;P&gt;&lt;U&gt;The listener port specified is not available&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If the listener port that you hav e configured in the registry is not available, SSTP will not be able to set up a listener on that port. There will be an event logged in the event viewer in this case. Open event viewer (Start --&amp;gt; Run --&amp;gt; eventvwr). Navigate to Windows Logs --&amp;gt; System and look for logs from RasSstp.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt; mso-bidi-font-family: Arial"&gt;Janani Vasudevan&lt;BR&gt;Software Design Engineer/Test&lt;BR&gt;RRAS, Windows Enterprise Networking&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 8pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 8pt; mso-bidi-font-family: Arial"&gt;[This posting is provided "AS IS" with no warranties, and confers no rights.]&lt;/SPAN&gt;&lt;/P&gt;
&lt;SCRIPT type=text/javascript&gt;
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&lt;/SCRIPT&gt;

&lt;SCRIPT type=text/javascript&gt;
try {
var pageTracker = _gat._getTracker("UA-1700161-11");
pageTracker._trackPageview();
} catch(err) {}&lt;/SCRIPT&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=679148" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/rrasblog/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category><category domain="http://blogs.technet.com/rrasblog/archive/tags/SSTP/default.aspx">SSTP</category></item></channel></rss>