Question
FGT protection and Outlook 2010 with Gmail in IMAP
My company' s FortiGate 80C is configured to protect connections to Internet (in Firewall > Policy). And this is causing problem when Outlook 2010 is used to open Gmail account using IMAP (in SSL). The send/receive error is as follows: Task ' Synchronizing subscribed folders for xxxxxxx@gmail.com.' reported error (0x800CCC0E) : ' Outlook cannot synchronize subscribed folders for xxxxxxx@gmail.com. Error: Cannot connect to the server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).' I' m 100% sure this problem is in part due to the firewall because as soon as I disable " Protection Profile" , this problem disappears. Of course, I don' t want to disable the protection in Fortigate. And of course, I don' t want to regress back to Outlook 2007 for my users even though Outlook 2007 doesn' t have this problem. Does anyone come across this problem and has solution or workaround? I know it' s more a problem with Microsoft than with Fortinet. I' ve already posted in Microsoft forum: http://social.technet.microsoft.com/Forums/en-US/outlook/thread/e37ecad7-e54d-418f-af02-6dc45099c952 (I think you need an account in order to view the forum content) but people there either misunderstood the problem or proposed wrong direction to " solve" the problem. I' m pretty sure the problem comes from the certificate issued by Fortigate but refused by Outlook 2010 (cf technical stuff below). So, maybe somebody knows how to make Outlook 2010 accept certificate or other trick? ----- Technical stuffs: In order to protect connection (ie to do inspection), Fortigate is using the man in the middle trick: it decrypts communicates with imap.gmail.com on one side, and encrypts communication using another certificate issued by itself and send the data to Outlook (or any IMAP client like Thunderbird) on the other side. So the certificate coming from imap.gmail.com and seen by Outlook is issued by Fortigate instead of by the original one (I suppose it' s Thwarte). If I use Thunderbird, it will ask me if I want to accept such certificate or not. Once the certificate is accepted, Thunderbird works without problem. But Outlook 2010 just silently rejects the certificate and thus connection. I think this problem could also be solved if Outlook accept firewall' s CA certificate (which is the issuer of the final certificate). I' ve done this test: I' ve exported the CA certificate and imported it into Thunderbird' s CA store and now TB doesn' t ask me to accept final certificate. Then I tried to import the CA certificate into my computer' s " Trusted Root Certification Authorities" certificate store but this doesn' t seem to work. Maybe Outlook is using its own CA certificate store?
