0

I have set up an HTTPS endpoint for my mulesoft flow which is working great in local.

https://'localhost':8081/customerquote

Once I deploy it on CloudHub I am not able to contact the url using https, the URL looks like https://myappname.cloudhub.io/customerquote it is responding only in HTTP reporting an SSL handshake error of course.

Already tried to switch the endpoint port to 443 or 8443 without any results.

Any Idea ?

Andrea M.
  • 59
  • 1
  • 9

3 Answers3

1

You need to use properties placeholders when you're deploying to CloudHub:
http://www.mulesoft.org/documentation/display/current/Developing+a+CloudHub+Application

If your application requires an externally accessible HTTP or HTTPS port to receive messages, trigger events, or expose a web service or user interface, you must declare the port using the reserved property ${http.port} or ${https.port}. On CloudHub, port ${http.port} or ${https.port} is assigned automatically by the platform services. Traffic on port 80 to your application domain URL will be routed to this port.

Seba
  • 2,319
  • 15
  • 14
1

An HTTPS listener requires a TLS configuration.

Please refer this link https://developer.mulesoft.com/docs/display/current/Building+an+HTTPS+Service

0

I did copy the exactly example reported here and it worked

http://www.mulesoft.org/documentation/display/current/Building+an+HTTPS+Service

Andrea M.
  • 59
  • 1
  • 9