The easiest way to create a SAML IdP server profile is to Import a metadata file containing the registration information from the IdP. After saving a server profile with imported values, you can edit the profile to modify the values. If the IdP doesn’t provide a metadata file, you can Add the server profile and manually enter the information. After creating a server profile, assign it to an authentication profile (see Device > Authentication Profile) for specific firewall or Panorama services.
Select the scope in which the profile is available. In the context of a firewall that has multiple virtual systems, select a virtual system or select Shared (all virtual systems). In any other context, you can’t select the Location; its value is predefined as Shared (firewalls) or as Panorama. After you save the profile, you can’t change its Location. Select the certificate that the IdP uses to sign SAML messages that it sends to the firewall. You must select an IdP certificate to ensure the integrity of messages that the IdP sends to the firewall. To validate the IdP certificate against the issuing Certificate Authority (CA), you must specify a Certificate Profile in any authentication profile that references the IdP server profile (see Device > Authentication Profile).When generating or importing a certificate and its associated private key, remember that the key usage attributes specified in the certificate control what you can use the key for. If the certificate explicitly lists key usage attributes, one of the attributes must be Digital Signature, which is not available in certificates that you generate on the firewall. In this case, you must Import the certificate and key from your enterprise certificate authority (CA) or a third-party CA. If the certificate doesn’t specify key usage attributes, you can use the key for any purpose, including signing messages. In this case, you can use any method to obtain the certificate and keyfor signing SAML messages.
• Public key algorithms—RSA (1,024 bits or larger) and ECDSA (all sizes). A firewall in FIPS/CC mode supports RSA (2,048 bits or larger) and ECDSA (all sizes).
• Signature algorithms— SHA1, SHA256, SHA384, and SHA512. A firewall in FIPS/CC mode supports SHA256, SHA384, and SHA512. Select the HTTP binding associated with the Identity Provider SSO URL. The firewall uses the binding to send SAML messages to the IdP. The options are:
• POST—The firewall sends messages using base64-encoded HTML forms.
• Redirect—The firewall sends base64-encoded and URL-encoded SSO messages within URL parameters. Select the HTTP binding associated with the Identity Provider SLO URL. The firewall uses the binding to send SAML messages to the IdP. The options are:
• POST—The firewall sends messages using base64-encoded HTML forms.
• Redirect—The firewall sends base64-encoded and URL-encoded SSO messages within URL parameters. This field displays only if you Import an IdP metadata file that you uploaded to the firewall from the IdP. The file specifies the values and signing certificate for a new SAML IdP server profile. Browse to the file, specify the Profile Name and Maximum Clock Skew, and then click OK to create the profile. Optionally, you can edit the profile to change the imported values. To enable this option, a Certificate Authority (CA) must issue your IdP’s signing certificate. You must create a Certificate Profile that has the CA that issued the IdP’s signing certificate. In the Authentication Profile, select the SAML Server profile and Certificate Profile to validate the IdP certificate (see Device > Authentication Profile).If your IdP signing certificate is a self-signed certificate, there is no chain of trust; as a result, you cannot enable this option. The firewall always validates the signature of the SAML Responses or Assertions against the Identity Provider certificate that you configure whether or not you enable the Validate Identity Provider Certificate option. If your IdP provides a self-signed certificate, ensure that you are using PAN-OS 11.1 to mitigate exposure to CVE-2020-2021. Select this option to specify that the firewall sign messages it sends to the IdP. The firewall uses the Certificate for Signing Requests that you specify in an authentication profile (see Device > Authentication Profile).