Post

OSX Soapui add jssecacerts to packaged jre

OSX Soapui add jssecacerts to packaged jre

SoapUI bundles its own JRE, which means it doesn’t pick up certificates you’ve installed in your system Java. When SoapUI starts failing on SSL because it doesn’t trust your corporate CA, you need to add the cert to SoapUI’s bundled JRE specifically. This is where that keystore lives on Mac.

  • To make Soapui aware of custom certs

Find the current version of Soapui

1
2
3
$ cd /Applications
$ ls -lrt SoapUI*
$ # this will give you the currently installed Soapui

Add jssecacerts to the Soapui packaged JRE

1
2
3
4
5
$ # replace X.X.X with your current SoapUI version
$
$ cd /Applications/SoapUI-X.X.X.app/Contents/PlugIns/jre.bundle/Contents/Home/jre/lib/security
$ open .
$ # this will open a finder window

Copy paste your jssecacerts that contains your custom certs to this directory.

Make sure the jssecacerts is set to default ‘changeit’ password (without single-quotes ‘).

This post is licensed under CC BY 4.0 by the author.