How to do I set the keystore used for client and server certifcate 
authentication? Can I just set these System properties or do I need actually 
set the KeyManager and TrustManager in FTPSClient?

System.setProperty("javax.net.ssl.trustStore",trustStore);
System.setProperty("javax.net.ssl.trustStoreType",trustStoreType);
System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);

System.setProperty("javax.net.ssl.keyStore",keyStore);
System.setProperty("javax.net.ssl.keyStoreType",keyStoreType);
System.setProperty("javax.net.ssl.keyStorePassword",keyStorePassword);

Thanks,

Steve

Reply via email to