Renew SSL- Cerificate on Anywhere Access

Christer Hed 1 Reputation point
2022-06-20T20:03:54.137+00:00

I am trying to renew the SSL- certificate in Anywhere Access on a windows 2016 server with the Server essential extension. I have done it before on this server every year but this year when I try it comes only an error message pretty immediately.

An error occurred while setting up your domain name
the domain name was not setup for your server wait a few minutes and run the wizard again
An unknown error occurred. Please Wait a few minutes, and then try again

Dashboardlog below

[14540] 220620.175159.7162: DomainManagerObjectModel: Calling KeepAlive for instanceID=2
[14540] 220620.175159.7162: DomainManagerObjectModel: KeepAlive succeeded for instanceID=2
[4704] 220620.175202.1810: General: Search for object with query: Select * FROM SoftwareLicensingService
[13320] 220620.175202.1920: DomainManagerObjectModel: DomainSignupManager ctor called. InstanceID=61256692
[13320] 220620.175202.3680: DefaultDCSettingsControl: currentDCName is DC.xxxxxx.local and domainName is xxxxxx.local, pos is 3
[13096] 220620.175202.3690: DefaultDCSettingsControl: newDCName is null
[2512] 220620.175202.5221: PfBinding: Information: [0] : Adding service dns identity [DC] in proxy endpoint.
[13096] 220620.175202.5251: DomainManagerObjectModel: Starting KeepAlive timer for instanceID=4
[13320] 220620.175202.5621: DefaultDCSettingsControl: currentDCName is DC.xxxxxx.local and domainName is xxxxxxx.local, pos is 3
[13320] 220620.175202.5621: RemoteAccessSettings: domainManager.connect() completed
[13320] 220620.175202.5881: RemoteAccessSettings: domainManager.connect() completed
[13320] 220620.175202.7581: RASettingsTab: siteCustomizationConnectWorker_RunWorkerCompleted.
[4704] 220620.175202.8271: General: Search for object with query: Select * FROM SoftwareLicensingProduct WHERE ApplicationId="55c92734-d682-4d71-983e-d6ec3f16059f" AND PartialProductKey <> null
[9500] 220620.175202.8981: Admin: Installed = True, InstallState = Installed.
[9500] 220620.175202.9001: Admin: Windows-Defender is installed
[9500] 220620.175202.9001: WindowsDefender: GetWindowsDefenderStatus() pendingRestart is False
[4704] 220620.175203.0851: General: ActivationStatus.ReArmCount = 1001
[4704] 220620.175203.0851: General: ActivationStatus.LicenseStatus = 1
[4704] 220620.175203.0851: General: ActivationStatus.GracePeriod (minutes) = 0
[13320] 220620.175206.5813: OEMBranding: Found no value for (DomainNameProviderName) in language (en-US), return default value ()
[2512] 220620.175207.3584: GitmeInfrastructure: GetReferralServiceBaseUri: read referral Service Uri from registry:
[2512] 220620.175207.3984: FwlinkHelper: Failed to get forwarded link from fwlink https://go.microsoft.com/fwlink/?LinkID=532357 with error The request was aborted: Could not create SSL/TLS secure channel..
[2512] 220620.175207.3984: GitmeInfrastructure: GetReferralServiceBaseUri: Failed to get the base URL of the referral service.
[13320] 220620.175207.6124: DomainConfigWizard: Error occurred in Domain Manager Object Model operations: ErrorCode:0
BaseException: Microsoft.WindowsServerSolutions.Networking.DomainPurchaseClient.ReferralServerCommunicationException: Failed to get the base URL of the referral service.
at Microsoft.WindowsServerSolutions.Networking.DomainPurchaseClient.ReferralServiceData.GetReferralServiceBaseUri()
at Microsoft.WindowsServerSolutions.Networking.DomainPurchaseClient.ReferralServiceData.InitGlobalValidTLDs()
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
[13320] 220620.175207.6124: DomainConfigWizard: The exception is not a DomainManagerFault exception
[15552] 220620.175259.7387: DomainManagerObjectModel: Calling KeepAlive for instanceID=2
[15552] 220620.175259.7387: DomainManagerObjectModel: KeepAlive succeeded for instanceID=2

Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,926 Reputation points
    2022-06-23T09:01:12.563+00:00

    Hi there,

    Make sure your ISP does not block port 80(http), or 443(https)

    Try configuring the router to give server a static internal IP address

    • Try configuring the router to let HTTP, HTTPS, and RDP point to my server's static internal IP address

    -Run the wizard from the dashboard The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

    https://learn.microsoft.com/en-us/answers/questions/355521/remote-web-access-an-error-occurred-while-setting.html

    https://social.microsoft.com/Forums/en-US/7571df37-0f70-402f-be50-5490fff353d0/an-error-occurred-while-setting-up-your-domain-name?forum=whs2011

    -------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Yoann Montouchet 16 Reputation points
    2022-07-20T08:11:30.223+00:00

    I have exactly the same issue here, also with a WS2016E, i can't repair anywhere access because of this error. I also tried to access https://go.microsoft.com/fwlink/?LinkID=532357 using my browser and this fails. It redirects to https://www.microsoft-sbs-domains.com/v2.1/ which fails with error :
    DNS_PROBE_FINISHED_NXDOMAIN

    I will try to fix my issue with IIS and SSTP connector, hopefully it works... :(


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.