To access an SAP BAPI exposed as a Web Service from an HTTPS port, add the same SAP server
certificate you imported into the Unwired Server truststore into an Unwired WorkSpace truststore.
Perform this configuration on the Unwired WorkSpace host, or an SSL security exception is returned when trying to
connect to the connection profile of the HTTPS WSDL URL.
- Add truststore.jks to the <UnwiredPlatform_InstallDir>\UnwiredPlatform\Eclipse directory.
- Use the Java keytool command to add the same SAP server certificate you imported into the Unwired Server truststore into truststore.jks.
- Add this argument to the <UnwiredPlatform_InstallDir>\UnwiredPlatform\Eclipse\UnwiredWorkspace.bat file:
-Djavax.net.ssl.trustStore=%ECLIPSE_ROOT%\truststore.jks
- Create and run a setup-truststore.bat file that sets up your truststore environment. For example:
copy ..\JDK1.6.0_23\jre\lib\security\cacerts truststore.jks
@echo *
@echo * Answer Yes to "Trust this certificate?".
@echo *
keytool -import -keystore truststore.jks -file sap-doe-vm1.sybase.com.PEM.crt -storepass changeit
@echo *
@echo * Add to eclipse vmargs: -Djavax.net.ssl.trustStore=%ECLIPSE_ROOT%\truststore.jks
@echo *
- Restart Unwired WorkSpace.