Skip to main content
BrianB
New Member
September 20, 2019
Question

6.2.1 - SSL certificate-inspection and Subject Alternative Names (no deep inspection)

  • September 20, 2019
  • 2 replies
  • 4662 views

Is the Fortigate default certificate-inspection profile able to see SAN names in an SSL cert or does it even attempt to see them?

 

Thanks,

Brian

    2 replies

    mjcrevier
    New Member
    October 1, 2019

    Yes it does look for SNI. I ran into an issue with the default certificate-inspection profile assigned to a policy in proxy-mode: SSL negotiation failure because SNI does not match CN. Looking at the certificate for the website in question, I can see that the CN is listed in SNI, but it's the last entry.

     

    You can resolve by using flow-based inspection. Also, you can edit the certificate-inspection profile on the CLI:

     

    config firewall ssl-ssh-profile

     edit custom-cert-inspection

      config ssl

       set inspect-all certificate-inspection

       set sni-server-cert-check disable

      end

     end

     

    I found that disabling sni-server-cert-check on full-tunnel SSL VPN policies resolved the issue without having to switch to flow-based inspection.

    DanielW
    New Member
    May 7, 2020

    SNI and SAN are not the same. SNI has no impact on the certificate itself, whilst with SAN the CN may not be distinct.

    @BrianB: Did you find an answer to your question? I am currently struggling to find a way to monitor SAN websites over https. Cloudflare uses this a lot.

    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