Skip to main content
daccu
New Member
December 2, 2016
Solved

SSL Certificate Inspection causing connection issues with certain sites

  • December 2, 2016
  • 20 replies
  • 202799 views

We have SSL Certificate Inspection enabled (we are NOT using DPI-SSL, so we don't have the MITM invalid certificate problem).  Certain services such as Amazon Echo, credit card POS devices, and PRTG application updates error out on connection with this enabled.  If I simply remove the certificate inspection from the IP4 rules everything works.  Are there any tweaks that will make just the services we're having trouble with connect?  I know with DPI-SSL you can set exclusions, but that option doesn't seem to be available for the certificate inspection option.  As a secondary question, what exactly is the Fortigate doing during certificate inspection that breaks these services?

    Best answer by hmtay_FTNT

    Hello,

     

    To answer daccu's question first,

     

    Certificate Inspection should not break any SSL connections. The Fortigate only inspects the SNI on the Client Hello or the Server Certificate when Certificate Inspection is used. It does not attempt a MitM. Could you post the output of the CLI commands, "config firewall ssl-ssh-profile", "edit <your profile>", "show"?

     

    E.g.

     

    edit "certificate-inspection" set comment "SSL handshake inspection." config https set ports 443 set status certificate-inspection end config ftps set ports 990 set status disable end config imaps set ports 993 set status disable end config pop3s set ports 995 set status disable end config smtps set ports 465 set status disable end config ssh set ports 22 set status disable end next

     

    This is the default certificate-inspection profile.

     

    SteveG, 

     

    TLS 1.3 would have affected the engine if you used deep-inspection - not widespread yet, recently added into Chrome 56 (would require the server to support the protocol too).  It should not affect it if certificate-inspection is used. Our dev team has released a new engine to address TLS 1.3. It is not released to the public yet as it is undergoing beta tests. 

     

    LewisBowerbank,

     

    You can disable the replacement message. 

     

    If you are using the Web Filter profile and FortiOS 5.4, here's how:

     

    Go to "config webfilter profile", "edit <profile name>", "set https-replacemsg disable".

     

    If you are using the Application Control profile and FortiOS 5.4,

     

    Go to "config application list", "edit <application name>", "set app-replacemsg disable".

    20 replies

    SteveG
    New Member
    March 1, 2017

    I'm seeing similar stuff on a couple of sites (angular.io), like you if I disable SSL inspection for that site it works fine. Do you have 'block invalid certs' ticked on your SSL Inspection profile, I disabled that but still see the same problem? I'm wondering if it's a TLS 1.3 thing but not had time to investigate fully.

    Alby23
    New Member
    March 1, 2017

    Try, just to test, to inspect all ports in Proxy Option profile.

     

    It's a resource-consuming option so enable it just in a dedicated policy and please retry.

    LewisBowerbank
    New Member
    March 2, 2017

    We have the same problem, we have the advertising category blocked these are embedded on pages and sometimes the browser just says there is a problem connecting securely to the website. Even if the page is in an allowed category but the advert causes this to fail. If I allow the advertising category the page loads. It is annoying that Fortigate certificate has to present itself on blocked pages,  I cannot add certificates to the end user machines on this network.

     

    I tried the inspect all ports in the proxy and that didn't help unfortunately

    ireyes
    New Member
    January 6, 2021

    Hi everyone, i have an issue with the portal www.bb.com.mx, this site belongs to a category named Finance & Banking, which i have allowed in my filter, but when a user in my office try to connect to the electronic banking, the portal refuse the connection.

    In the application control i have allowed the SSL, the user already have installed the certificate SSL downloaded from the fortigate.

    I already see the forward traffic and the problem is the SSL, i already try to configure in the policy with no-inspection and certificate inspection profile but it did not work, anyone can help me with this issue.

     

    Thanks. 

    ikmarwright
    New Member
    February 1, 2021

    Deleted. Didn't realize the thread was so old.

     

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT