You encounter the following error:
An internal error has occurred. Restart the Edge Relay Service (OfcEdgeSvc) and Microsoft Internet Information Service (IIS). Check the Edge Relay service logs for more information (Error Code: 4).
To resolve this issue:
- In the Edge Relay server, run the following PS script as administrator to identify the certificates that need to be moved:
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\unsigned-certs.txt"
- Move the non-self-signed certificate generated in unsigned-certs.txt from "Trusted Root Certification Authorities" to “Intermediate Certification Authorities”:
- On the Edge Relay server, click Start, type "mmc.exe" in the Start Search box and right-click mmc.exe, then click Run as administrator.
If you are prompted for an administrator password or for a confirmation, type the password or click Continue.
- On the File menu, click Add/Remove Snap-in.
- Under Available snap-ins, click Certificates and then click Add.
- Click Computer account and then click Next.
- Click Local computer, then click Finish, and then click Close.
- To exit the wizard, click OK.
- Expand Certificates, then expand “Trusted Root Certification Authorities”.
- Right-click Certificates and then point to Cut.
- Go to Intermediate Certification Authorities > Certificates and then right-click Paste.
- Ensure that the non-self-signed certificate generated in unsigned-certs.txt” has been successfully moved to “Intermediate Certification Authorities”.
URL: https://support.microsoft.com/en-us/help/942061/error-message-when-you-visit-a-web-site-that-is-hosted-on-iis-7-0-http
- On the Edge Relay server, click Start, type "mmc.exe" in the Start Search box and right-click mmc.exe, then click Run as administrator.
- Perform to connect once more your Edge Relay Server from OSCE Server console.