Unable to Authenticate to GP using SMAL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Unable to Authenticate to GP using SMAL

Cyber Elite
Cyber Elite

 

 

On PA 8.1.19 we have configured GP portal and Gateway for SAML authentic in Azure.

We have imported the SAML Metadata XML into SAML identity provider in PA.

Authentication Failed

Please contact the administrator for further assistance

Error code: -1

When I go to GP. url. I get authentic on my phone and I approve it then I get this error on browser.

 

PA. system log shows sam authentic error.

Server team says that SAML is working fine as it authenticates the user.

 

Any ideas how can we proceed on this?

 

 

 

MP

Help the community: Like helpful comments and mark solutions.
1 accepted solution

Accepted Solutions

Issue was fixed by exporting the right cert from Azure.

XML metadata file is azure was using inactive cert.

MP

Help the community: Like helpful comments and mark solutions.

View solution in original post

14 REPLIES 14

L4 Transporter

Hello

 

There are various browser plugins (for the PC based browsers, most probably not for the smartphone, so you need to test this from a PC). This plugin helped me a lot while trouble shooting some SAML related authentication topics.

I am testing from the PC only.

Will use SAML ext for chrome now

MP

Help the community: Like helpful comments and mark solutions.

PA system log shows this error 

 

and ( description contains 'Failure while validating the signature of SAML message received from the IdP "https://sts.windows.net/7262967a-05fa-4d59-8afd-25b734eaf196/", because the certificate in the SAML Message doesn\'t match the IDP certificate configured on the IdP Server Profile "Azure_GP". (SP: "Global Protect"), (Client IP: 207.228.78.105), (vsys: vsys1), (authd id: 6723816240130860777), (user: xsy@com)' )

MP

Help the community: Like helpful comments and mark solutions.

Issue was fixed by exporting the right cert from Azure.

XML metadata file is azure was using inactive cert.

MP

Help the community: Like helpful comments and mark solutions.

L0 Member

I am having a similar issue.

 

global protect with azure SAML

 

authentication works fine with the GP Portal, but when connecting to the GP gateway, authentication fails with the same error you received. The Cert from Azure is an active and valid cert.

 

My portal and gateway have separate hostnames/IPs

check the authd logs in the PA.

Also check the logs in Azure.

 

Authd logs in PA helps to find the cause of the error message.

MP

Help the community: Like helpful comments and mark solutions.

L1 Bithead

Hi @MP18 
I was able to make palo alto admin UI authentication work with SAML.
Now, I want to do the same with GlobalProtect.
A brief history:
I configured a SAML authentication profile for globalprotect and it's working just fine with our globalprotect VPN portal (we use Auth0 as an IDP with Duo MFA).
When trying to do the same with the globalprotect gateway (I'm 100% sure that the authentication profile and the auth0 client settings are correct), I keep getting this error "unknown private header auth-failed-invalid-user-input" and the globalprotect client is showing that it's not able to contact the gateway.
A workaround was using SAML authentication with vpn portal and certificate profile with the gateway.
Now, The problem is that I'm unable to identify VPN source users on Palo alto since I'm using the Common Name of a client SSL cert to identify users and not LDAP or adfs ...
Can someone help me make the saml authentication work with GP VPN gateway?
Thanks.
Rami


 

 

@RamiAkermi 

 

We have our GP where Portal and Gateway are configured for SAML authentication.

Make sure authentication profile is same for both portal and GW.

Did you check logs on the Duo side?

 

Regards

 

MP

Help the community: Like helpful comments and mark solutions.

Hi @MP18 ,

I'm using the same SAML auth profile for both portal and gateway.
I'm suspecting that the callback url for the gateway is wrong.
Since the portal and the gateway are in the same domain, I'm using wildcard FQDN (https://*.X.X.X.X/SAML20/SP/ACS  ).
Could it be that the gateway uses a different callback url ?
P.S: they are both using port 443.

Thanks.
Rami

@RamiAkermi 

 

They both use same redirect url.

Other thing you can try is to reimport the Certificate again.

 

Regards

MP

Help the community: Like helpful comments and mark solutions.

Hi @kevin.thomas 

Did you get this to work?
I'm having the same issue.
I'm able to connect to the GP portal but not to GP VPN gateway.
Something else, what's the callback url (ACS url ) that you are using for your vpn gateway?

I am having the same issue. We want to upgrade version 9.1.8 and have a working saml implementation for Globalprotect under 9.0.x . Since now signing and validate "identity provider certificate" is required, signing messages seem obligatory. When I enable the profile with ipc enabled in gateway it works. When I enable it in portal, it doesnt work under version 9.0.x. When I only sign after upgrade under panos 9.1.8, I notice that the translation from UPN (user principal name / emailadresses) to Ad user doesnt work anymore, causing all traffic blocked. I suppose it has something to do with the new saml implementation starting panos 9.1.3 . Did something change on UPN translation on panos 9.1.X ?

The error i get when trying to enable identity provider certificate is :

Failed to validate the signature in IdP certificate "crt.AzureaD-SAML.shared" of entity Id "https://sts.windows.net/xxx"

L1 Bithead

had same issue on my firewall. resolved after re configuring ntp (time settings ). this was because of time difference between SAML authentication URLs and your firewall. default maximum deference is 60s

 

L0 Member

I saw this alert on our corporate firewall ; 'Failed to convert SAML message payload into xml tree', as a high level,

Is there anyone to explain what this means and what this situation effects to our SAML vpn configurations?

 

Please inform to me,

Have a good day.

  • 1 accepted solution
  • 20908 Views
  • 14 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!