Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Guizado
New Contributor

Weird Behaviour With SSL Inpection and Web Filtering?

Hello all,

I am having some issues with WEB Filtering and SSL Inspection / Deep Inspection.

So the first behaviour is, when using "Certificate Inspection" and "Inspect All Ports" IS NOT ticked, and I try to browse lets say a gambling site I get the "Web Page Blocked" splash screen by the Fortigate, so no problem, expected behaviour.

 

Now the same thing but with "Inspect All Ports" ticked and trying to browse the same website the Website is allowed.

 

 

Now lets try the same but with "Deep Inspection" instead of "Certificate Inspection"

Any options with "Inspect all Ports" enabled or disabled result on "This Page can't be displayed".

So Conclusion:

"Certificate Inspection":

Inspect All Ports Ticked = Gambling Page is not blocked, normal access to page. Inspect all Ports is not Ticket and HTTPS = 443 = Fortigate Splash Screen "Web Page is Blocked" as Expected.

 

Deep Inpection: "This Page can't be displayed".

Finnally any sites I visit that are HTTP and not HTTPS I do get the Fortigate blocking Splash Screen.

 

Am I missing something is the behaviour normal?

 

Many Thanks

2 Solutions
hmtay_FTNT
Staff
Staff

Hello Guizado,

 

Let's go through your case one by one:

 

>>Inspect All Ports Ticked = Gambling Page is not blocked, normal access to page.

Can I know which FortiOS are you using, there was a bug with Inspect All Ports with Proxy use.

 

>>Inspect all Ports is not Ticket and HTTPS = 443 = Fortigate Splash Screen "Web Page is Blocked" as Expected.

If you are doing certificate-inspection and you get a replacement message on a HTTPS site, that means you did import the SSL Certificate onto your trusted Root CA list correctly, am i right? If the replacement message page loads automatically, that means you most likely imported the certificate. If you got an error message first and had to click "Advanced", you most likely did not import the certificate.

 

>>Deep Inpection: "This Page can't be displayed".

If you imported the correct SSL Certificate, this should not happen.

 

Did you do something like this?

http://cookbook.fortinet.com/preventing-certificate-warnings/

 

HoMing

 

View solution in original post

hmtay_FTNT

Hello Guizado,

 

Can you upgrade your FortiOS 5.2 to the latest 5.2 available? 5.2.2 is a very old version and there has been bug fixes on many features including deep-inspection.

 

https://info.fortinet.com/files/FortiOS/v5.00/images/build0670/fortios-v5.2.3-release-notes.pdf

 

265375 - In deep-inspection mode, the server certificate chain validation may not be handled correctly.   Unlike going from 5.2 to 5.4 or 5.6, you are unlikely to go through major updates. Getting the most updated FortiOS is important if you are using deep-inspection in proxy-mode - more so if you use Chrome. Chrome very frequently comes up with new cipher-suites and we have to add support for those cipher-suites.    If you can give it a try and it still does not work, do let me know.    HoMing

View solution in original post

8 REPLIES 8
hmtay_FTNT
Staff
Staff

Hello Guizado,

 

Let's go through your case one by one:

 

>>Inspect All Ports Ticked = Gambling Page is not blocked, normal access to page.

Can I know which FortiOS are you using, there was a bug with Inspect All Ports with Proxy use.

 

>>Inspect all Ports is not Ticket and HTTPS = 443 = Fortigate Splash Screen "Web Page is Blocked" as Expected.

If you are doing certificate-inspection and you get a replacement message on a HTTPS site, that means you did import the SSL Certificate onto your trusted Root CA list correctly, am i right? If the replacement message page loads automatically, that means you most likely imported the certificate. If you got an error message first and had to click "Advanced", you most likely did not import the certificate.

 

>>Deep Inpection: "This Page can't be displayed".

If you imported the correct SSL Certificate, this should not happen.

 

Did you do something like this?

http://cookbook.fortinet.com/preventing-certificate-warnings/

 

HoMing

 

Guizado

Hello thanks for your reply.

 

The Certificate was created in the Fortinet, downloaded and signed by our Enterprise CA, and imported back, I am using this same certificate for "Certificate Inspection" and "Deep Inspection", the CA Server that signed the certificate is trusted on all our client Machines.

I am not getting any Certificate warnings, its either the page gets blocked properly, or a page cannot be displayed error as if I had no Internet gets displayed with Deep Inspection.

My version is 5.2.2 (642)

hmtay_FTNT

Hello Guizado,

 

Can you upgrade your FortiOS 5.2 to the latest 5.2 available? 5.2.2 is a very old version and there has been bug fixes on many features including deep-inspection.

 

https://info.fortinet.com/files/FortiOS/v5.00/images/build0670/fortios-v5.2.3-release-notes.pdf

 

265375 - In deep-inspection mode, the server certificate chain validation may not be handled correctly.   Unlike going from 5.2 to 5.4 or 5.6, you are unlikely to go through major updates. Getting the most updated FortiOS is important if you are using deep-inspection in proxy-mode - more so if you use Chrome. Chrome very frequently comes up with new cipher-suites and we have to add support for those cipher-suites.    If you can give it a try and it still does not work, do let me know.    HoMing
Guizado

Hello Thanks for your reply.

 

We have a Scheduled upgrade to the latest version 5.6 in about 3 weeks time, I will come back if we still experience any issues after the upgrade.

a1dave23

Hi,

 

I am having this same issue, I am using the Fortigate self signed cert and it works for http sites but not https.

 

I am also not able to select a cert i have uploaded to the fortigate to use for a custom deep packet inspection.

 

Any help appreciated 

Amalio_C

Hello,

Did you find a solution for your second statement: "I am also not able to select a cert i have uploaded to the fortigate to use for a custom deep packet inspection." The thing is that I generate a CSR from my FortiGate, download it and signed by my root CA (which is installed on every corporate PC), but when I uploaded back to FirtiGate, it appeared on as a "Certificate", not as a "Local CA Certificate". 

And I uploaded it using Import > Local Certificate 

 

Did I do some wrong ? I'm using FortiOS 5.4

 

Thank you, 

Thank you guys,

Regards,

ACP

Thank you guys, Regards, ACP
a1dave23

Hi, 

 

No we have not found a solution for this just yet. 

 

Regards  

Amalio_C

Check this link:

 https://stuff.purdon.ca/?page_id=155 

 

It was sent it to me by Fortigate support tech's

Thank you guys,

Regards,

ACP

Thank you guys, Regards, ACP
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors