
You have an X.509 certificate saved as a file.
If you plan to match certificates to aliases of user master records, you have ensured that the aliases include the relevant content.
You have the required authorizations.
For more information, see Rule-Based Certificate Mapping.
This procedure enables you to create a rule for mapping X.509 certificates from a given issuer to user records of SAP NetWeaver Application Server (AS) ABAP. Each certificate contains attributes in the subject, and sometimes, in the subject alternative name fields. You select one of these attributes for the AS ABAP to match to either the user name or alias of the user master record.
When a user agent presents an X.509 certificate to the AS ABAP for authentication, the AS ABAP checks the rules in order. The AS ABAP applies the first rule that matches. For each rule, the AS ABAP applies the issuer filter and subject filter to determine if the rule applies. The issuer filter and the issuer must be identical. The table below shows examples of the application of a subject filter.
|
Subject Filter |
Certificate Subject |
Result |
|---|---|---|
|
CN=*, C=IT, O=SAP |
CN=MarcoRicci, C=IT, O=SAP |
Match. Attempt to log on user MARCORICCI. If the AS ABAP can find a single user with this name as user ID or alias according to the configuration, logon is successful. |
|
CN=*, C=IT, O=SAP |
CN=MarcoRicci, O=SAP, C=IT |
Fail. Attributes O and C are in not in identical order. |
|
CN=*, C=IT, O=SAP |
CN=MarcoRicci, C=IT, O=SAB |
Fail. The values of the O attributes are not identical. |
|
CN=*, C=IT, O=SAP |
CN=MarcoRicci, C=IT, O=SAP, OU=DEV |
Fail. The filter requires that the first attribute from the end must be O=SAP. In this case, the first attribute is OU=DEV. |