You can import WSDLs that reference schemas on self-signed secure HTTPS servers, by adding security certificates to the Java™ Virtual Machine JVM.
The following procedure enables you to add certificates from the SSL server to each instance of your JVM.
If you are using Windows 7, you must enter the commands from a console that has administration privileges.
C:\Program
Files\IBM\IntegrationToolkit90\jdk\jre\bin>keytool -printcert -file d:\
mb.cerOwner: EMAILADDRESS=jdoe@xx.ibm.com, CN=<userID>.
<servername>.ibm.com, OU=Message Broker Toolkit, O=IBM,
ST=<anystate>, C=<anycountry>Issuer: EMAILADDRESS=
jdoe@xx.ibm.com, CN=<userID>.<servername>.ibm.com,
OU=Message Broker Toolkit, O=IBM, ST=<anystate>, C=<anycountry>
Serial number: e1cabb1486f2bc7f
Valid from: 9/27/10 12:33 PM until: 9/27/11 12:33 PM
Certificate fingerprints:
MD5: ED:9B:BD:1C:C7:B5:8D:6E:F3:21:B7:92:26:25:52:9B
SHA1: 5C:DE:70:CF:A5:64:96:16:C3:ED:4E:2C:A2:6E:EA:D3:A5:4B:69:BC
C:\Program
Files\IBM\IntegrationToolkit90\jdk\jre\bin>keytool -import -alias <userID>
.<servername>.ibm.com -file d:\mb.cer -keystore d:\mb.keystore
Enter keystore password:
Re-enter new password:
Owner: EMAILADDRESS=jdoe@xx.ibm.com, CN=<userID>.<servername>.ibm.com,
OU=Message Broker Toolkit, O=IBM, ST=<anystate>, C=<anycountry>
Issuer: EMAILADDRESS=jdoe@xx.ibm.com, CN=<userID>.<servername>.ibm.com,
OU=Message Broker Toolkit, O=IBM, ST=<anystate>, C=<anycountry>
Serial number: e1cabb1486f2bc7f
Valid from: 9/27/10 12:33 PM until: 9/27/11 12:33 PM
Certificate fingerprints:
MD5: ED:9B:BD:1C:C7:B5:8D:6E:F3:21:B7:92:26:25:52:9B
SHA1: 5C:DE:70:CF:A5:64:96:16:C3:ED:4E:2C:A2:6E:EA:D3:A5:4B:69:BC
Trust this certificate? [no]: yes
Certificate was added to keystore
C:\Program
Files\IBM\IntegrationToolkit90\jdk\jre\bin>cd ..
C:\Program
Files\IBM\IntegrationToolkit90\jdk\jre>cd ..
C:\Program
Files\IBM\IntegrationToolkit90\jdk>cd ..
C:\Program
Files\IBM\IntegrationToolkit90>mb -vmargs -Djavax.net.ssl.trustStore=d:\\mb.keysto
re -Djavax.net.ssl.trustStorePassword=broker
C:\Program
Files\IBM\IntegrationToolkit90>
If an error occurs during the import of a WSDL definition, carefully check any errors that are reported. By default, all errors are written both to the screen and to the file that has the format *.wsdl.report.txt.