Making HTTPS outbound calls from mule

In the Getting markup from HTTPS connection in Java program entry i talked about how to make HTTPS call from stand alone java application. Recently i had to figure out how to make HTTPS call from Mule as part of flow, and these are the steps that i followed
  1. First step is to download the certificate for the site, but the InstallCert.java is no available on Oracle blog, instead i had to download it from here
  2. The next step is to compile the InstallCert.java by executing javac InstallCert.java
  3. One issue in using the trust store with Mule is that the password for the trust store file should be not null. So i had to execute the InstallCert command with changeit as password (same as oracle java's default password) like this java InstallCert wpcertification.blogspot.com changeit
  4. After executing last step you should see jssecacerts file in your local directory, that is your trust store file
  5. Next step is to create a HTTP connector in mule and while configuring go to security tab, check Enable HTTPS and configure the trust store to point to the jssecacerts file created in the last step and use changeit as password
  6. Last step is to add HTTP call in your flow, while adding that call use the HTTP connector that you configured in the previous step
  7. Now you can go ahead and test the flow and you should be able to make HTTPS call

8 comments:

Unknown said...



That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.


Mulesoft online training

Unknown said...


Great Article. its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.

Mulesoft online training bangalore

sujay said...

Nice Article
Iot Training in Bangalore
Iteanz

Unknown said...

Good article. It is very useful for me to learn and understand easily Learn Mulesoft Online Thanks for posting.

Johan said...

Thank you for sharing .The data that you provided in the blog is informative and effective.mulesoft training in bangalore

Ismail said...

Thank you for sharing. The data that you provided in the blog is informative and effective...
Mulesoft Training in Bangalore

Ranjith said...

I think this the best blog with the most important information filled in this website
I Got the more and more ideas from this blog Thank You for letting us to know.
pythonTraining in chennai

python Course in chennai

Keerthi55 said...

testing toolsonline courses
seleniumonline courses
pythononline course
SAP ABAP online course
SSAP PP online online course
Mulesoft online course