Symptom
You have a working communication arrangement in your Cloud for Customer (C4C) tenant, and you use certificate based authentication. You notice that the messages from C4C to your external system start to fail with 'Unauthorized (401)' errors. When you check the certificate, you see that the validation date has changed.
Environment
SAP Cloud for Customer
Cause
The client certificate is renewed once per year. This is a standard renewal process and cannot be disabled.
The system will automatically send an e-mail notification to the IT Contacts when the certificate expires in less than 92 days. In addition to that, there are two tasks/notifications generated to all key users via Business Task Management (BTM):
- to notify that the certificate renewal will be attempted during the 1st day of the next month;
- to notify that the certificate renewal was successful.
SAP has a background job which keeps a check on the validity period of the tenant certificate. This job runs at the start of every month and if the tenant certificate is going to expire in the next 62 days, it will automatically renew the certificate and triggers the notifications with the subject 'Tenant Certificate has been renewed'.
If the expiration date is between 62–92 days from the job's run date, then it will trigger the notification with the following subject: 'Tenant Certificate is going to expire soon'.
Resolution
In case you wish to subscribe for the e-mail notification for the task, you need to configure it explicitly. To enable the Subscribe to Task option, you need to:
-
Go to the Business Configuration work center.
- Go to the Implementation Projects.
- Edit the project scope and go to the question tab of: Communication and Information Exchange > Business Process Management > Business Task Management
- Flag the question asking to send e-mail for the task.
Once the above question is scoped, the Subscribe to Task option should be available and after subscribing for the task, the notification will be sent to the responsible user from the next time.
You can also find the additional steps in the following blog: All about Tenant Certificate renewal in SAP Cloud for Customer.
See Also
KBA 2579512 - You Receive From SAP a Notification Regarding Renewal of Mandate Certificate or Mandate User Certificate (M-User)
KBA 2969948 - Notification System for Certificate Renewal is not Received
Keywords
tenant certificate, m user certificate, 401, unauthorized, C4C, Cloud for Customer, Web Service Message, Tenant Certificate. , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-CRM , Integration of C4C with CRM , How To
SAP Knowledge Base Article - Public