Skip to main content
BraveITMan
New Member
June 12, 2025
Question

EMS Administrator SAML on 10443 gives 404 message

  • June 12, 2025
  • 10 replies
  • 1335 views

When configuring a FortiClient EMS server (v.7.4.1b1872) on Linux for Administrator SAML SSO with Entra/Azure it works if I use the default SP Address (<FQDN>), but we'll be locking down port 443 from external access and I would like to use 10443 for the SAML SSO. When configured the same way adding 10443 per the small blurb of instructions (<FQDN>:10443) it returns an EMS 404 error stating "The requested URL was not found on this server."

 

If I reconfigure that same SAML entry to just the <FQDN>, updating the appropriate fields and certificate, it works.

 

I have confirmed that port 10443 is open. The URL in the browser looks correct for the ACS link (https://<FQDN>:10443/saml/default/<UniqueKey>/acs). I don't see any issues off hand, and MS does report a successful log in. Attempting to log in as a unapproved user does result in the expected O365 "you do not have permission to log in" page. The server has been rebooted with the desired settings in place with no change.

 

Because of the anecdotal evidence, the issue appears to be that despite the EMS stating to use the specific ACS link with the included 10443 port, it isn't actually registering that link within itself to accept the credentials- thus a 404 error. Since it works without using the specific port, my guess would be that it does not recognize the port or potentially updating the config to include the port is breaking the config. Is there a way to view this configuration from a config file instead of through the UI?

 

Any insight would be appreciated.

10 replies

funkylicious
SuperUser
SuperUser
June 12, 2025

in System Settings > EMS Settings do you have enabled Open Port 10443 option ?

 

Only enforced when Windows Firewall is enabled. Port 10443 is also used for Invitation Email and SAML Authentication.

"jack of all trades, master of none"
BraveITMan
New Member
June 12, 2025

Yes, that setting is enabled. I'm able to access the downloads of installers via port 10443, but we hadn't intended on using the email portion so that hasn't been tested.

 

This is built on a Linux server as well, and ufw does report the port is open.

bhstech
Visitor III
June 17, 2026

Hi ​@BraveITMan,

did you ever find a solution for this?
For the life of me I cannot figure this out, I think I want to achieve the same as you.

I want to use this for the User SAML auth and don’t want the admin web interface visible on the internet…..

Cheers!
-Simon

funkylicious
SuperUser
SuperUser
June 17, 2026

do you want user verification with SAML or admin login with SAML ?

 

"jack of all trades, master of none"
bhstech
Visitor III
June 17, 2026

Yes I wanted to use it for user verification / based on user group membership assign specific VPN Profiles and such. Mainly for Ubuntu users that cannot directly use the EntraID Auth via Device. 

bhstech
Visitor III
June 17, 2026

I’m sorry but you don’t seem to understand the problem. 

I have used all these guides, but what I want to achieve is that the EMS Web Console isn’t accessible from the internet. 

Thus I am trying to seperate it via ports. 443 → EMS Console 10443 SAML
 

funkylicious
SuperUser
SuperUser
June 17, 2026

all guides w/ saml auth with an external idp describe that the webUI needs to be accesible from the internet either via fqdn or ip configured

"jack of all trades, master of none"
christian_89_
Explorer II
June 17, 2026

The two features:

  1. Administrator SAML SSO, under Administration > SAML SSO. This is admins logging into the EMS management console. EMS is the service provider and the Service Provider Settings expose the SP Address, SP Entity ID and SP ACS (login) URL. This ACS is served by the management console web service, i.e. the EMS console HTTPS port (443 by default). Fortinet
  2. User Verification with SAML, under User Management > SAML Configuration. This lets end users authenticate against the IdP, such as Entra ID, and is what you use for group-based VPN profile assignment. This is endpoint-facing and runs on the 10443 service, not on the admin console. Fortinet

Why the 404 (BraveITMan):

Port 10443 is a separate service. The FortiClient EMS installation opens 8013 and 10443, and 10443 is used for invitation email and SAML authentication (the endpoint-facing kind), plus installer downloads. It does not register the administrator SSO ACS route. So when you set the SP Address to FQDN:10443, Entra completes its side correctly (hence "successful login" on the MS side), then redirects the browser to https://FQDN:10443/saml/default/<key>/acs, which does not exist on that listener, and you get "requested URL not found." This is by design, not a broken config. There is no config file on the Linux box where you can re-bind the admin ACS to 10443, so that approach is a dead end. FortinetFortinet Community

If your goal is to keep admin SSO but not expose 443 broadly, do not try to move it to 10443. Either restrict 443 by source (management subnet, jump host, or over VPN), or front EMS with a reverse proxy on a different external port that proxies to 443 internally while preserving the /saml ACS path, and set the SP Address to that proxy URL.

For Simon's goal (admin console off the internet, user SAML for VPN profiles):

You do not need the admin console (443) reachable from the internet at all. Your use case is User Verification SAML, which lives on the 10443 service, separate from the admin GUI. So publish 10443 externally (plus 8013 telemetry and FortiGuard outbound as your design requires) and keep 443 restricted to internal/management only. The statement that "the webUI needs to be accessible from the internet" applies to administrator SSO, where the ACS sits on the console port. It does not apply to user verification, where the ACS sits on 10443. That is precisely the port separation you were after.

Validation: open the SAML flow with browser dev tools and confirm which host:port the IdP redirect (ACS) targets, then make sure only that port is published. For Ubuntu endpoints this is the right path, since they cannot use the Entra ID device-based user verification and must go through the SAML user account flow.

CFR_
bhstech
Visitor III
June 18, 2026

Thanks Christian and yes you are absolutely right, I also wanted to achieve that the user verification SAML is accessible via 443 from the internet and maybe messed something up with the VIP in the FortiGate, I’ll try again later. 

 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.