Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
295 views
in Java FTP by (140 points)

I have to use FTPS for file transfer. Hence, my requirement is to perform ftp server certificate validation. Currently, we have generated user signed certificate of ftp sever machine using openSSL, The resulting file is cacert.pem.

Its format is 

-----BEGIN CERTIFICATE-----

----------------------------------

-----END CERTIFICATE-----

 I am using SecureFileTransferClient and 

// server validation

client.loadSSLServerValidation(rootCert);

I have passed the ftp server machine certificate to above method. 

Its throwing me exception as below

Server certificate could not be validated. (use SSLFTPCertificateException.printCertificates to view certificates.).

1. Will I be able to use user sign certificate?

2. If yes, what is format of certificate?

3. Do I need to install that certificate on ftp server machine?

by (161k points)
Please open a support ticket here and supply your certificate so we can try it. Also please supply your license details.

https://enterprisedt.atlassian.net/servicedesk/customer/portal/1

Please log in or register to answer this question.

Categories

...