Thank  Tim for replay my message !
Second , sorry for de double post

Your solution  works very good !
But with this solution I must modify axis.jar, and I can?t.
Have you  got another solution for my problem ?
Tks again !

Regards,
Joaco

>-- Mensaje original --
>Reply-To: [EMAIL PROTECTED]
>Subject: RE: Trust in any certificate
>Date: Wed, 19 Jan 2005 13:03:36 -0500
>From: "Barlotta, Timothy - Arlington, VA - Contractor" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>
>
>First, please do not double post.  These type of questions only belong
in
>the user group - not the dev group.
>
>To solve your problem do the following:
>in the meta-inf directory create a new directory called services
>in that directory create a file called 
>"org.apache.axis.components.net.SecureSocketFactory"
>Edit this file with something like:
>com.mycompany.MyFakeTrustSocketFactory
>
>or with some of the ones that come with Axis (depending on JVM):
>org.apache.axis.components.net.IBMFakeTrustSocketFactory
>or
>org.apache.axis.components.net.SunJSSESocketFactory
>
>Axis will pick up this setting and use that class as its SecureSocketFactory.
>
>Tim
>
>> -----Original Message-----
>> From: Joaco [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, January 19, 2005 1:00 PM
>> To: [EMAIL PROTECTED]
>> Cc: axis-dev@ws.apache.org
>> Subject: Trust in any certificate
>>
>>
>> Iīve a problem with ssl, I need  my WS trust in any certificate,
>>
>> For it, I did a TrustSocketFactory that trust in any certificate and

>>  I modify  HttpSernder class :
>>
>> ????????????
>>   if (protocol.equals("https")) {
>>           TrustSocketFactory factory = new TrustSocketFactory();
>>           return  factory.createSocket(host,port);
>>
>>     }else {
>>         SocketFactory factory =
>> SocketFactoryFactory.getFactory(protocol,
>> getOptions());
>>      return factory.create(host, port, otherHeaders, useFullURL);
>>      }
>> ??????.
>> and itīs work !
>>
>> The problem is?. Now I canīt modify axis.jar, so?..
>> somebody can help me ???? pls !
>>
>> can I set SocketFactoryFactoy.getFactory()?by ouside (like a
>> propertie )  so that it uses my factory
>> Thanks
>> Joaco
>>
>>
>>


Reply via email to