|
RE: Apache SOAP does not recognbize https protocol?: msg#00300text.xml.soap.user
Thanks. This helped a lot. It is not using my
keystore:
Deploying the messaging service...
keyStore is : keyStore type is : jks init keystore init keymanager of type SunX509 trustStore is: /usr/java/j2sdk1.4.0/jre/lib/security/cacerts trustStore type is : jks init truststore adding as trusted cert: [ [ Version: V3 Subject: EMAILADDRESS=personal-freemail@xxxxxxxxxx, CN=Thawte Personal Freemail CA, OU=Certification Services Division, O=Thawte C onsulting, L=Cape Town, ST=Western Cape, C=ZA Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey@d009b4
Validity: [From: Sun Dec 31 16:00:00 PST 1995, To: Thu Dec 31 15:59:59 PST 2020] Issuer: EMAILADDRESS=personal-freemail@xxxxxxxxxx, CN=Thawte Personal Freemail CA, OU=Certification Services Division, O=Thawte Co nsulting, L=Cape Town, ST=Western Cape, C=ZA SerialNumber: [ 0 ] Certificate Extensions: 1
[1]: ObjectId: 2.5.29.19 Criticality=true BasicConstraints:[ CA:true PathLen:2147483647 ] But in
the source, I have specified the keystores, why doesn't recognize
it?
///////////////////////////////////////////////////////////////
// HTTPS - SSL System.setProperty("javax.net.ssl.trustStore", "/home/jyue/soap/server.keystore"); System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol"); // Add SSL
Provider
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("javax.net.ssl.keyStorePassword",
"infonoxsoap");
System.setProperty("javax.net.ssl.keyStore", "/home/jyue/soap/security/client.keystore"); System.setProperty("javax.net.ssl.trustStorePassword", "infonoxsoap"); // Next line not
necessary
System.setProperty("javax.net.ssl.keyStoreType", "jks");
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: no signature match for message service: 00300, Yong Miao |
|---|---|
| Next by Date: | Remote method identification?: 00300, Jason Oliver |
| Previous by Thread: | RE: Apache SOAP does not recognbize https protocol?i: 00300, Joe Pruitt |
| Next by Thread: | making utf-8 the default charset: 00300, Stephane Pelchat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |