Share via

Server 2016 Essentials Anywhere Access SSL Problem

Anonymous
2022-04-07T00:41:32+00:00

Hi.

I am trying to activate Remote Web Access on Server 2016 Essentials. I could not get the default DDNS (remotewebaccess.com) to work, so I set up a DDNS domain with No-IP and created an SSL certificate. I am able to set up the domain and certificate through the Anywhere Access wizard, and I can access the Server 2016 web access login page using that domain name (using HTTP). After I enter my credentials, though, I receive an error saying that anywhere access is not available. If I try to access the server using HTTPS, I get an error saying 403 - Forbidden: Access is Denied.

I was able to track down two error messages from an ASP.NET page (C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\ ):

Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: The application is configured to issue secure cookies. These cookies require the browser to issue the request over SSL (https protocol). However, the current request is not over SSL.

HOMENET-xxx1 36874 Error Schannel System 4/6/2022 8:51:14 AM

An TLS 1.2 connection request was received from a remote client application, but none of the cipher suites supported by the client application are supported by the server. The TLS connection request has failed.HOMENET-xxx1 1309 Warning ASP.NET 4.0.30319.0 Application 4/5/2022 10:53:17 PM

I edited C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\web.cfg file to change instances of requireSSL="true" to requireSSL="false", and I was able to log in after accessing the credentials page via HTTP. Of course, this was an unsecure connection because it did not use HTTS.

I did some research and verified that the SSL certificate was bound to the default IIS web site to which the domain/remote page belongs. I don't know what else to look for at this point. Any ideas?

Thank you!!!!

Here is the full text of the ASP.NET error:

Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: The application is configured to issue secure cookies. These cookies require the browser to issue the request over SSL (https protocol). However, the current request is not over SSL. Event code: 3005 Event message: An unhandled exception has occurred. Event time: 4/5/2022 10:13:10 PM Event time (UTC): 4/6/2022 5:13:10 AM Event ID: 1f67eecc77094c4bb989cb6a96bda722 Event sequence: 15 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT/Remote-2-132936955696241605 Trust level: Full Application Virtual Path: /Remote Application Path: C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\ Machine name: HOMENET-xxx1 Process information: Process ID: 9436 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpException Exception message: The application is configured to issue secure cookies. These cookies require the browser to issue the request over SSL (https protocol). However, the current request is not over SSL. at System.Web.Security.FormsAuthentication.SetAuthCookie(String userName, Boolean createPersistentCookie, String strCookiePath) at System.Web.Security.FormsAuthentication.RedirectFromLoginPage(String userName, Boolean createPersistentCookie, String strCookiePath) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOnHelper.LoginUser(String name, String password) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.LogOnButton_Click(Object sender, EventArgs ea) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Request information: Request URL: http://xx.xx.xx.xx/Remote/logon?ReturnUrl=/remote Request path: /Remote/logon User host address: xx.xx.xx.xx User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 15 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Web.Security.FormsAuthentication.SetAuthCookie(String userName, Boolean createPersistentCookie, String strCookiePath) at System.Web.Security.FormsAuthentication.RedirectFromLoginPage(String userName, Boolean createPersistentCookie, String strCookiePath) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOnHelper.LoginUser(String name, String password) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.LogOnButton_Click(Object sender, EventArgs ea) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Custom event details:

Windows for home | Other | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Brian Tillman 25,555 Reputation points Independent Advisor
    2022-04-07T15:17:43+00:00

    Thanks.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-04-07T04:03:38+00:00

    Thank you. I posted my question on the Q&A site.

    Was this answer helpful?

    0 comments No comments
  3. Brian Tillman 25,555 Reputation points Independent Advisor
    2022-04-07T01:17:00+00:00

    Hi. I'm Brian and I will do my best to help you.

    These forums are geared toward consumer-level products. Windows Server 2016 issues are discussed here: https://docs.microsoft.com/en-us/answers/topics... .

    Was this answer helpful?

    0 comments No comments