Skip to main content
max71
Explorer
Sep 30, 2024 6:36 PM UTC
Question

web filter for https request

Hello , 

I run into this issues, 

internet -> fortigate -> fortiauthenticator (with reset password service)

everithing working correctly also fortytoken service , but i would like to restrict the access only for request addressed to https://urlfortigate/portal/selfservice/reset_password

this url open a web page on 443 for reset password service.

I wish to block every others web page that coming from internet to fortiauthenticator.

i though a webfilter that permit only 

urlfortigate/portal/selfservice/reset_password -- simple -- allow

* -- wildcard -- block

but another configuration is put the firewall policy using a certificate inspection.

If i use this config when the internet user can try to reach the fortiauthenticator web page to reset own password obtain that " you are not allowed to access this resource" ... i think is a fortiauthenticator message but i do not understand where this message born ... 

someone has tried to experience this issues ....

thank you

3 replies

AEK
SuperUser
SuperUser
Sep 30, 2024 7:27 PM UTC

Hi Massimo

If you want to allow or deny a HTTPS URL in a web filter then you need SSL deep inspection.

AEK
max71
max71Author
Explorer
Oct 2, 2024 6:44 PM UTC

hello AEK,

but how cert are managed by fortigate and fortiauthenticator,i need to export and import the cert in the firewall and fortiauthenticator ?

thank you

 

AEK
SuperUser
SuperUser
Oct 2, 2024 8:03 PM UTC

Hello Massimo

 

The fastest way is to use the FGT's predefined "deep-inspection" profile, or clone it and customize it.

Then on FGT, download the CA certificate "Fortinet_CA_SSL" (from System > Certificates) and install it on your clients.

After that FortiGate can do deep inspection for your client's traffic without displaying certificate warning on your browser.

 

In case your FAC is already your CA, and you want to generate the intermediate CA with FAC and import it on FG, here is how to do.

https://docs.fortinet.com/document/fortiauthenticator/6.5.0/cookbook/273572/fortiauthenticator-certificate-with-ssl-inspection

 

Hope it helps.

AEK
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
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