Hi,
For verification purpose, I am trying to export the server certificate using ftp.getRootCertificateStore().exportPEMFile("filename") method. This method is called successfully i.e. doesn't throw any exception but the problem is that it is generating 0 byte file with the name mentioned in the method.
Please suggest where I am doing wrong or why is 0 byte file created or is there any restriction w.r.t. exporting a server certificate using this method.
Thanks much in advance.
Thanks and regards,
Saurabh Kumar