List Info

Thread: XML-RPC over SSL




XML-RPC over SSL
user name
2006-07-31 08:11:26
if my server IP is "https://137.202.16.156:38191/xmlrpc_servlet/xmlrpc", then The "firstname and last name" should be "137.202.16.156:38191/xmlrpc_servlet"?,thanks very! And in http://ws.apache.org/xmlrpc/ssl.html;the "The recommended solution" creates a truststore, but it doesn't add any code to the clients initialization, I want to know, if I use  "The recommended solution", do I need to add some code to my clients initialization? thanks very much! ;
 
-----Original Message-----
From: Rafaqat Ali [mailto:smoken0gmail.com]
Sent: Monday, July 31, 2006 3:58 PM
To: xmlrpc-userws.apache.org
Subject: Re: XML-RPC over SSL

It is now working if I enter localhost against firstname and last name when executing command
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
And when I run client using localhost on local machine it works fine.
but when I try to access it with ip address it doesn't work even I tried to put my machine's ip in first name and last name
I use following command to run program
java -cp classes;%JARS% com.edb.usm.test.SecureXmlRpcTest 10.90.1.124 8443 "C:\Documents and Settings\rafaqat\.keystore" changeit

but it thorws Exception

java.io.IOException: HTTPS hostname wrong:&nbsp; should be < 10.90.1.124>
java.io.IOException: HTTPS hostname wrong:&nbsp; should be <10.90.1.124>
&nbsp; &nbsp; &nbsp; &nbsp; at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)
 &nbsp;   ; &nbsp; at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
&nbsp; &nbsp; &nbsp;   at com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:116)

and in (SecureXmlRpcTest.java at line 116 I am calling execute method as
 &nbsp; &nbsp; &nbsp;   ; &nbsp; Object result = client.execute(method, paramsVector);



On 7/30/06, Jochen Wiedmann <gmail.com"> jochen.wiedmanngmail.com> wrote:
Rafaqat Ali wrote:
>; java.io.IOException : Server returned HTTP response code: 405 for URL:
> https://lo
> calhost:8443/edb/
>; &nbsp; &nbsp; &nbsp; &nbsp; at
> org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)
>&nbsp; &nbsp; &nbsp;   ; at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163)
>; &nbsp; &nbsp; &nbsp; &nbsp; at
> com.edb.usm.test.SecureXmlRpcTest.main(SecureXmlRpcTest.java:99)

Servers log file?


---------------------------------------------------------------------
To unsubscribe, e-mail: ws.apache.org">xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: ws.apache.org">xmlrpc-user-helpws.apache.org


XML-RPC over SSL
user name
2006-08-01 20:27:14
Zhou, Jing (Jing) wrote:

> if my server IP is "ht
tps://137.202.16.156:38191/xmlrpc_servlet/xmlrpc",

> then The "firstname and last name" should
be 
> "_137.202.16.156:38191/xmlrpc_servlet_"?

I am unsure about the :38191/xmlrpc_servlet part. I am even
unsure, 
whether the IP address will work. A suitable host name will.

> http://ws.apache
.org/xmlrpc/ssl.html, the "The recommended
solution" 
> creates a truststore, but it doesn't add any code to
the clients 
> initialization, I want to know, if I use  "The
recommended solution", do 
> I need to add some code to my clients initialization?
thanks very much! 
> <https://135.220.76.156:38191/xmlrpc_servlet/xmlrpc>


In that case, no additional client configuration is
required. However, 
modifying the trust store is required for *any* client.


Jochen


------------------------------------------------------------
---------
To unsubscribe, e-mail: xmlrpc-user-unsubscribews.apache.org
For additional commands, e-mail: xmlrpc-user-helpws.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )