You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Jerome Destarac <jd...@sopra.com> on 2001/08/14 11:05:47 UTC

soap authentification between apache & vb client

i run a sample with java client and apache-tomcat using ssl and 
authentification : it works fine.
I try to run this sample with vb client : it doesn't work !

1 i create a client certificate  (.cer export in the client registry 
through IE) and a server certificate. i export both in the server keystore.

2. i set the connector properties like this on the client :
Connector.Property("UseSSL") = True
Connector.Property("SSLClientCertificateName") = [mycertif]

3. in server.xml (tomcat) i declare :
 <Connector className ="org.apache.tomcat.service.PoolTcpConnector">
		      <Parameter name="handler" value 
="org.apache.tomcat.service.http.HttpConnectionHandler"/>
		      <Parameter name="port" value="443"/>
		      <Parameter name="socketFactory" 
value="org.apache.tomcat.net.SSLSocketFactory" />
		      <Parameter name="keystore" value="c:\keystore\server.keystore" /> 
		      <Parameter name="keypass" value="changeit"/>
		      <Parameter name="clientAuth" value="true"/>
</Connector>


what's wrong ?

thanks
jerome