SYMPTOMS:
When deploying an application to Mule Runtime 4.10 that contains a TLS configuration, the deployment fails.
The application log shows the following error message:
This behaviour is expected in Mule Runtime 4.10 due to security enhancements regarding the updated TLS Configuration Behaviour. Link
In previous runtime versions (e.g., 4.9), it was possible to reference a KeyStore or TrustStore using an absolute path, such as ${app.home}/security/keystore.jks.
In Mule 4, and as security constraints and restrictions get stricter, it turns out that the current approach used by some customer may be accessing files from the filesystem, which in hosted environments (i.e., CloudHub) is a security risk. Therefore, the runtime no longer accepts absolute paths or references to external files (like ${app.home}) for certificate configurations in hosted infrastructure.
The same, however, is not necessarily an issue in on-premise environments since it is the customer's responsibility to manage the file system and the Mule runtime. Moreover, some customers may be placing KeyStore and TrustStore files in their servers to access them from the Mule apps deployed there.
CloudHub 1.0/ CloudHub 2.0
To resolve this error, you must update your application configuration to use a relative path instead of an absolute path to reference the certificate.
Open your project in Anypoint Studio.
Locate your TLS/SSL configuration.
Change the KeyStore path reference.
Incorrect (Mule 4.10+): ${app.home}/security/keystore.jks
Correct: security/keystore.jks (Ensure the file is located in src/main/resources).
Redeploy the application to Mule Runtime 4.10.
On-premise/ RTF:
005228981

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.