bjblackmore
Posts: 80
Joined: 9.Aug.2005
Status: offline
|
Hi, Did anyone manage to fix this? I've spent the past 2 weeks trying to get RPC over HTTPS working. I've followed all 5 parts of http://www.isaserver.org/tutorials/ISA-Firewall-Publishing-OWA-RPC-HTTP-Single-IP-Address-Part1.html as its a very similar setup to ours, but no matter what I can't get RPC over HTTPS to connect through ISA 2006. Our setup is: Two Win2003 SP2 domain controllers: One runs DHCP, DNS, and a Certificate Authority - server1.domain.com The other runs Exchange 2003 SP2 - exchange.domain.com Both are Global Catalog servers. One Win2003 SP2 server running ISA 2006 with Supportability Update, this is in a workgroup, not the domain. Clients are all WinXP SP2, running Office 2003 SP3. OWA is published as owa.domain.com and works perfectly. We use certificates created by the internal CA for externally published websites, so the clients all have the root CA installed in the trusted root certificates folder, allowing Outlook to connect via RPC. The steps taken so far are: On the DNS/DHCP/CA Server: - Setup our CA and CA root certificate
- Setup DNS records, we have a split DNS, so internally we can access owa.domain.com (although now one does as they use Outlook), and externally users can use the same address.
- A DNS record already exists for exchange.domain.com, and we also have one setup for owa.domain.com pointing to the same IP address (192.168.1.3)
- Have also setup a DNS record on our external DNS name server for owa.domain.com that points to 194.xxx.xxx.25 (the ISA external listener IP)
On the Exchange Server: - Added the RPC over HTTP componant from Add/Remove Programs > Windows Setup.
- Selected RPC-HTTP back-end server from the RPC-HTTP tab in ESM.
- I used the RPCNoFrontEnd tool (by Harry Bates) to set the RPC valid ports, which is set to:
- exchange:6001-6002;exchange.domain.com:6001-6002;owa.domain.com:6001-6002;exchange:6004;exchange.domain.com:6004;owa.domain.com:6004
- Checked the NSPI interface protocol sequences registry setting was set to NCACN_HTTP:6004
- OWA is already setup and working from the Default Website, which has the IP address 192.168.1.3. The SSL certificate is owa.domain.com. I have exported this certificate & private ket to the ISA server.
- Checked the Default Website/Rpc directory, set 'Require secure channel' & 'Require 128-bit encryption'. Removed Integrated Authentication, just leaving Basic.
- Now one question I have, is: does there need to be a default domain stated? Some setups I've seen a domain stated, some haven't. If so, should be be the netbios domain name, or the FQDN?
- Rebooted the Exchange Server
Now, as far as I've read, that is everything that needs to be done on the Exchange server!? I've tested this by setting up a client, and forcing it to connect via RPC over HTTP using Outlook.exe /RPCDIAG the following screen is shown, with all HTTPS connections established. On the ISA server I have performed the following steps: - Imported the OWA web server certificate.
- Cretaed a new publishing rule, using the Publish Exchange Web Client Access wizard using the following settings:
- Called it Outlook Anywhere & OWA
- Selected Exhcange 2003
- Selected Outlook Web Access & Outlook RPC/HTTPs
- Publish a single web site
- Use SSL to connect to published web server
- Internal site name: owa.domain.com - use IP address 192.168.1.3
- Accept request for this domain name: owa.domain.com
- Used the existing OWA listener, which has the following settings:
- Require SSL
- Listen on External - IP 194.xxx.xxx.25
- Use a single certificate - owa.domain.com
- HTML Form Authentication
- Validate credentials - LDAP (Active Directory)
- Enable single sign on for domain.com
- Authentication Deligation: Basic authentication
- All authenticated users
- Applied the ISA changes
Now, according to ISA-Firewall-Publishing-OWA-RPC-HTTP-Single-IP-Address-Part3.html, that is everything that needs to be done to the ISA server. On the clients I have done the following: - Made sure the domain CAs root certificate is in the trusted root authority folders
- Created a new profile in Outlook with the following settings:
- Exchange server: exchange.domain.com
- Username: valid domain/exchange user
- More settings > Connections tab:
- Connect to my exchange mailbox using HTTP
- Exchange Proxy settings:
- https://owa.domain.com
- Connect using SSL
- Mutually authenticate: msstd:owa.domain.com
- On fast & slow networks connect using HTTP first
- Use basic authentication.
Now as I said, I have tested this client inside the network, and it successfully establishes a connection. Externally it hangs for about 2 minutes, and the status just shows 'connecting'. On the ISA server the 2 following error messages appear: Failed Connection Attempt Log type: Web Proxy (Reverse) Status: 1460 This operation returned because the timeout period expired. Rule: OWA & Outlook Anywhere Source: External (194.xxx.xxx.25) Destination: (exchange.domain.com 192.168.1.3:443) Request: RPC_OUT_DATA http://owa.domain.com/rpc/rpcproxy.dll?EXCHANGE:6004 Filter information: Req ID: 09051610; Compression: client=No, server=No, compress rate=0% decompress rate=0% ; FBA cookie: exists=no, valid=no, updated=yes, logged off=no, client type=unknown, user activity=yes Protocol: https Failed Connection Attempt Log type: Web Proxy (Reverse) Status: 64 The specified network name is no longer available. Rule: OWA & Outlook Anywhere Source: External (194.xxx.xxx.25) Destination: (exchange.domain.com 192.168.1.3:443) Request: RPC_IN_DATA http://owa.domain.com/rpc/rpcproxy.dll?EXCHANGE:6004 Filter information: Req ID: 0905160e; Compression: client=No, server=No, compress rate=0% decompress rate=0% ; FBA cookie: exists=no, valid=no, updated=yes, logged off=no, client type=unknown, user activity=yes Protocol: https If I open IE7 from the ISA server, and go to https://owa.domain.com/rpc/rpcproxy.dll I get an authentication popup, when I enter my credentials I get a blank page, which from what I've read is correct. However, the url in the error message isn't httpS, its plain http. So, for testing purposed, I've tried accessing this same url externally, as it should also be published with the OWA & Outlook Anywhere rule created above. When I go to https://owa.domain.com/rpc/rpcproxy.dll I get the standard ISA 2006 OWA authentication form, I enter my domain name & password, and it forwards me to the RPC url, but I get a Page cannot be displayed error: Page cannot be displayed Explanation: The Web server connection was closed. Error Code 64: Host not available Which is the same error code as the ISA server error. There has got to be something misconfigured in ISA that is stopping RPC over HTTPS communication. I can only assume its ISA, as Exchange & Outlook seem to be configured correctly, and work when the client is connected internally. Any help with this would be much appreciated! Ben
|