commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cole" <sc...@camsbycbs.com>
Subject Re: Client authentication
Date Thu, 09 Apr 2009 12:23:44 GMT
FTPSClient will automatically accept the server certificate. If you want
FTPSClient to verify the identity of the server, to prevent being redirected
and connecting to the wrong server, you need to create and load a
TrustManager using the keystore that contains the server's certificate along
with any others in the chain. If the server requires the client to present a
certificate for authentication, you need to create and load a KeyManager
using the keystore that contains the certificate issued to you by the
issuing authority on the server's certificate.

FTPSExample.java is a basic example, but it doesn't cover setting
TrustManager or KeyManager

----- Original Message ----- 
From: "Chetan" <chetankumar@yahoo.com>
To: <user@commons.apache.org>
Sent: Thursday, April 09, 2009 5:51 AM
Subject: Client authentication


Hi,

I am facing some problems when trying to make a ftps connection using apache
ftps client.
Can some one let me know how to accept the server certification and complete
the connection.




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message