So glad I found this tread. It means I am not along.
Please do not waste your time by trying to vary sequence of installation. It is not going to sort your problem.
Instead read below
Exactly same problem happened to us, with a production server (sorry MS we dont have extra finances to do lab testing to discover your bags).
We migrated from old SBS 2003 server to supposedly latest and greatest Windows 2012 and Exchange 2013 servers. To achieve migration we spent over 18K for new hardware and software licences. Our
IT department done all due diligence by reading Exchange 2013 and RDP installation and configuration guides and etc. Of cause none of them mentioned incompatibilities between Exchange 2103 and RD Gateway software.
Everything went smoothly until RD Gateway role has been enabled where nightmare started. We spent around four months since January 2105, raised two support request tickets to both Exchange and RDP
specialist teams. Both teams give up and left us with unacceptable solution as to install Exchange and RD Gateway on to two separate servers.
Here is exact quote by Exchange support specialist: As discussed with you, Exchange 2013 was not tested with RD Gateway installed, and it will not be supported by the Exchange. The only option
here is to move the RD Gateway to another server.
It is easy to say, but who going to pay another 18K for such solution. Even if we are going to use Virtual server still we would require to outlay an extra 5K for licensing.
Now we raised another support ticket to upper management at Microsoft with request of refund for Exchange server 2103 or issue of free licences to implement Exchange and RD Gateway separation and
they are playing soccer since start of April.
It is clearly a bag in Microsoft Exchange 2013 and/or RD Gateway products.
Below a sort of work around which works.
- Install Exchange 2013 and enable RD Role (does not matter which one first)
Important: do it then no users online, because until last steps below they would not be able to receive emails and etc. - Create and Install two separate SSL certificates for Exchange and RD on your server. Both can be self-signed (so you do not waste more money for third party ones).
- Open RD Gateway Manager and right click on the server name to open property pages
- Under Transport Settings tab change HTTPS Port from default 443 to any free port let say 888 will do.
- Open SSL Certificate tab and select an option Select an existing certificate from RD Gateway ServerName.DomainName.com Certificates (Local Computer)/Personal store
- Underneath click on <Import Certificate> button
- In dialog box select RD Gateway SSL created in step 1 above and press <Import> button and OK it. This step will create new binding to port 888 in IIS server under Exchange Back End website
and stop Exchange server from functioning. Do not worry it will be fixed by steps below
- Open IIS Server and under Default Web Site\Bindings make sure that port 443 linked to Exchange SSL
- In IIS Server under Exchange Back End\Bindings make sure that port 444 linked to Exchange SSL
- In IIS Server under Exchange Back End\Bindings link newly created port 888 to RD Gateway SSL
- Open command prompt and run IISRESET or restart server to reset IIS Server websites. The web site Stop/Restart does not going to do a trick as some settings kept in the memory.
- Make sure you allow port 888 through your ADSL router
- Add a rule to forward TCP external 888 port request to server 888 port for server IP address in ADSL router.
- Update RDP for all remote users computer to version 8. It will allow use of non-standard port 888 in RD Gateway section of Remote Desktop Connection under Server Name
- Instruct remote users to add :888 at the end of currently used FQDN Server Name in Remote Desktop Connection. E.g. rdp.microsoft.com to be rdp.mcrosoft.com:888
Now Exchange 2013 and RD Gateway will work on the same server, but you would not be able to access OWA and ECP.
- OWA will comes with Error: Your request can't be completed right now. Please try again later.
- ECP will comes with error -Your request couldn't be completed. Please try again in a few minutes.
The only way to make OWA and ECP work:
- Stop RD Gateway server
- Do whatever you need to do in ECP
- Restart RD Gateway server
- Run IISRESET from command prompt
Please let me know if you have a better solution over wise we all have to wait until Microsoft wakes up and sort this annoying bag. Alternatively we all unite and issue group action against Microsoft
to force them to do so and reimburse us for productivity and time lost.