SSLVPN with Azure SAML
- February 3, 2021
- 3 replies
- 16312 views
Hi
My test environment is: FortiGate 61E with firmware 6.4.4.
I have successfully configured SSO for administrators using Fabric Setup and this part works perfectly. Now I would like to continue this successful story by adding SAML authentication to SSL VPN for other mortals.
My configuration: config user saml
edit "ssl-azure-saml" set cert "Fortinet_Factory" set entity-id "http://_____IP:PORT_____/metadata/" set single-sign-on-url "https://_____IP:PORT_____/saml/?acs" set single-logout-url "https://_____IP:PORT_____/saml/?sls" set idp-entity-id "https://sts.windows.net/___IdP_id______/" set idp-single-sign-on-url "https://login.microsoftonline.com/___IdP_id______/saml2" set idp-single-logout-url "https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0" set idp-cert "REMOTE_Cert_2" set user-name "username" next end config user group edit "saml_grp" set member "ssl-azure-saml" next end config vpn ssl settings set ssl-min-proto-ver tls1-1 set servercert "Fortinet_Factory" set idle-timeout 0 set tunnel-ip-pools "SSLVPN_TUNNEL_ADDR1" set tunnel-ipv6-pools "SSLVPN_TUNNEL_IPv6_ADDR1" set port 20443 set source-interface "wan1" set source-address "all" set source-address6 "all" set default-portal "No_Access" config authentication-rule edit 1 set groups "VPN_Client" set portal "full-access" next edit 2 set groups "saml_grp" set portal "full-access" next end end[
config system global set remoteauthtimeout 60 end
/code]
But when I try to connect using SAML I get error.

Please help :)
