Share via

Azure App Service Linux logs “rehash: skipping ca-certificates.crt” as an error on every app restart — even without custom certificates

Surbhi Satish Shukla 20 Reputation points
2026-03-25T10:27:32.4966667+00:00

We're seeing the following message in all our Azure App Service (Linux) application log this on every restart on all our environment

rehash: warning: skipping duplicate certificate in azl_SSL.com_TLS_ECC_Root_CA_2022.pem

rehash: warning: skipping duplicate certificate in azl_SSL.com_TLS_RSA_Root_CA_2022.pem

rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL

We did not upload any certificates, yet the message appears across all apps and is logged as an error.

How can we stop Azure App Service Linux from logging this as an error? Is there an Azure‑supported way to suppress or avoid this warning ?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Answer accepted by question author
  1. Shree Hima Bindu Maganti 6,955 Reputation points Microsoft External Staff Moderator
    2026-03-31T17:22:56.1566667+00:00

    Hi @Surbhi Satish Shukla ,
    Addition to pavani response this behavior is expected on Azure App Service (Linux) and is not related to any certificates uploaded by your application. During container startup, the platform runs standard Linux certificate maintenance commands (such as OpenSSL rehash / update-ca-certificates) against the default system trust store. These commands may emit warnings like duplicate certificates or bundle files (for example ca-certificates.crt containing multiple certificates), and they are written to stderr, which App Service surfaces in the log stream as errors. However, these are benign platform-level warnings and do not indicate any issue with your app, TLS configuration, or connectivity. At present, there is no Azure-supported way to suppress these messages, since they originate from the managed base image initialization process that is not user-configurable. The recommended approach is to safely ignore them or filter them in your logging solution (e.g., Application Insights / Log Analytics).
    https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs
    https://learn.microsoft.com/en-us/azure/app-service/configure-language-java-deploy-run?tabs=windows&pivots=java-javase
    Kindly let us know if the above helps or you need further assistance on this issue.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.