SSL with SoapUI
To use SoapUI with SSL you must first install the AppScan SSL certificate in SoapUI.
Procedure
- Close any open instance of SoapUI.
-
In AppScan, click Options > Recording Proxy > Export, and save
the ZIP file to your machine.
Note: If the Export button is disabled, the certificate is not installed, and you must first install it by clicking the Add button located above it.
-
Extract the SSL certificate file
appScanRootCert.crt
and save it to:[SoapUI home dir]\jre\lib\security
Important: Do not change the filename. -
Open the command line as administrator, and go to:
cd [SoapUI home dir]\jre\lib\security
-
Run command:
The certificate has now been added to the SoapUI key store, and will allow you to use SSL in SoapUI."[SoapUI home dir]\jre\bin\keytool" -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias AppScanCertificate -file appScanRootCert.crt
What to do next
Troubleshooting
If you are still unable to send requests, try these troubleshooting steps:
- Close SoapUI.
- Uninstall the AppScan SSL Certificate by clicking Options > Recording Proxy tab > Remove.
- Repeat Steps 2 - 5 above.
- Delete the AppScan KeyStore entry in SoapUI by
running:
"[SoapUI home dir]\jre\bin\keytool" -delete -alias AppScanCertificate -storetype JKS -keystore cacerts -storepass changeit
Note: Ignore the warning that appears. - Repeat Steps 6 - 7 above.
Related topic: