07-18-2023 03:51 AM
We have managed to deploy SAML authentication for Anyconnect on our firewall estate with no issue
But we have one router running anyconnect and Google does not seem to throw up any config examples for this.
Has anyone ever managed to do this on a router, if so could you please share the saml config part for it.
07-26-2023 03:44 AM
bash
crypto ca trustpoint AzureAD-AC-SAML
revocation-check none
no id-usage enrollment terminal
no ca-check
crypto ca authenticate AzureAD-AC-SAML
-----BEGIN CERTIFICATE-----
... PEM Certificate Text you downloaded goes here ...
-----END CERTIFICATE-----
quit
bash
webvpn saml idp https://sts.windows.net/xxxxxxxxxxxxx/ - [Azure AD Identifier]
url sign-in https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxxxx/saml2 - [Login URL]
url sign-out https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0 – Logout URL
trustpoint idp AzureAD-AC-SAML - [IdP Trustpoint]
trustpoint sp ASA-EXTERNAL-CERT - [SP Trustpoint]
no force re-authentication
no signature
base-url https://asa.example.com
bash
tunnel-group AnyConnectVPN-1 webvpn-attributes
saml identity-provider https://sts.windows.net/xxxxxxxxxxxxx/
authentication saml
end
write memory
07-26-2023 03:57 AM
Thanks, we did have this set. It turns out there is a slight issue on older versions of IOS and Azure.
We had multiple SAML profiles, each one created a new certificate which we added to the ASA.
The trouble is the ASA could only have 1 SAML server with 1 certificate.
So the work around is to create you own certificate, upload that to each Azure side profile and also to the one SAML server on the ASA and it now all works fine.
We had one Cisco engineer on the case for about 4 hours with no success, when his shift ended and a new engineer came on, he spotted this issue in about 10 minutes and was fixed in under an hour.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide