Hi, I have implemented in the same way but when i am trying from my angular application it is throwing error as connection refused and also some times invalid certificates. My scenario is I have an angular web application deployed on aws s3 bucket with https I have java war files deployed in the same instance of aws Now I created aws ubuntu instance with mosquitto configuration. When some event happens from java services I will publish something to aws ubuntu instance and that has to be subscribed from angular applications.. But am getting connection and invalid certificates issues. Can u please suggest any solution for that