Search code examples
mulemule-componentmule-esbmule-cluster

Mulesoft :- Force Implementation url to listen to proxy only (or) Secure Implementation url


How to force implementation url to listen from proxy only in Mulesoft?

Right now proxy can be secured using client_id, client_secret etc. However implementation url is not secure. By chance if anyone knows the implementation url then its potential risky affair.

Is there any way we can force implementation url to listen to proxy only.

(or) Can we add policies to Implementation url.


Solution

  • Mulesoft documentation suggests adding VPC . When we tested http was working in VPC but not https.

    Since https was a mandatory requirement and we were unable to do it via VPC , we fixed it in a different way.

    We added a custom header at proxy code and we validate for that header in implementation .

    This was the fix rolled out