I read a previous post about Exchange Reverse Proxy, but my issue is different I think.
At work we have 5 different HTTP(S) policies for different sites/services. I’m wanting to setup Caddy as an HTTP(S) reverse proxy for those sites so we can reclaim 4x external IPs for other work. I’ve got 2x of the sites working using the Proxy plugin without issues, but Exchange is a different bird. Using:
mail.externaldomain.com {
log /var/log/caddy/access.log
errors /var/log/caddy/errors.log
proxy / https://mail1.internaldomain.com {
transparent
}
}
I am able to get access to the OWA, and that’s great. But when I use ExRCA to test ActiveSync or Outlook Connectivity I fail. The error is:
Testing the SSL certificate to make sure it's valid.
The SSL certificate failed one or more certificate validation checks.
Test Steps
The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server mail.externaldomain.com on port 443.
The Microsoft Connectivity Analyzer wasn't able to obtain the remote SSL certificate.
Additional Details
The SSL certificate failed validation for an unknown reason
My error log file doesn’t show any issues, and the access log just shows the OWA redirect (http 304)