How To Fix 00138 - Logons from X.509 client certificate are generally rejected


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 00 -

  • Message number: 138

  • Message text: Logons from X.509 client certificate are generally rejected

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 00138 - Logons from X.509 client certificate are generally rejected ?

    The SAP error message "00138 Logons from X.509 client certificate are generally rejected" typically occurs when there is an issue with the X.509 client certificate used for authentication in an SAP system. This error indicates that the system is configured to reject logons that are attempted using X.509 client certificates.

    Causes:

    1. Configuration Issues: The SAP system may not be properly configured to accept X.509 client certificates. This could be due to incorrect settings in the SAP profile parameters or the SSL configuration.
    2. Certificate Trust: The client certificate may not be trusted by the SAP system. This can happen if the certificate is not signed by a trusted Certificate Authority (CA) or if the CA's root certificate is not installed in the SAP system.
    3. Expired or Invalid Certificate: The client certificate being used may be expired or invalid, leading to rejection during the authentication process.
    4. Client Certificate Not Provided: The client may not be sending the X.509 certificate during the logon process, which would lead to rejection.
    5. User Mapping Issues: There may be issues with the mapping of the X.509 certificate to the corresponding SAP user.

    Solutions:

    1. Check Configuration: Review the SAP system's SSL and X.509 configuration settings. Ensure that the parameters related to SSL and X.509 authentication are correctly set in the instance profile (e.g., icm/HTTPS/verify_client).
    2. Install Trusted Certificates: Ensure that the root and intermediate certificates of the CA that issued the client certificate are installed in the SAP system's trust store.
    3. Validate Client Certificate: Check the validity of the client certificate. Ensure it is not expired and is correctly signed by a trusted CA.
    4. Client Certificate Submission: Ensure that the client application is correctly configured to send the X.509 certificate during the logon process.
    5. User Mapping: Verify that the X.509 certificate is correctly mapped to the corresponding SAP user in the system. This can be done using transaction SU01 to check the user settings.
    6. Review Logs: Check the SAP system logs (e.g., using transaction SM21) for any additional error messages or warnings that may provide more context about the rejection.

    Related Information:

    • SAP Notes: Check for relevant SAP Notes that may address specific issues related to X.509 authentication and SSL configuration.
    • Documentation: Refer to the official SAP documentation on configuring SSL and X.509 client certificates for detailed guidance.
    • Support: If the issue persists, consider reaching out to SAP support for assistance, providing them with detailed logs and configuration settings.

    By following these steps, you should be able to diagnose and resolve the issue related to the error message "00138 Logons from X.509 client certificate are generally rejected."

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker