I am currently experiencing some trouble installing a StartSSL certificate in ProFTPD.
These are the files I have:
cert.pem - certificate file
cert.key - corresponding key file
sub.class2.server.ca.pem - intermediate certificate
ca.pem - root certificate
In Apache, I have the following configuration that works fine:
SSLCertificateFile cert.pem
SSLCertificateKeyFile cert.key
SSLCertificateChainFile sub.class2.server.ca.pem
SSLCACertificateFile ca.pem
How am I supposed to configure ProFTPD for my given certificates? No matter what I try, I either get an error that the certificate chain is not complete or that the last certificate (the root one) is self-signed. I tried placing the cert.pem alone in TLSRSACertificateFile and the chain + root certs in TLSCACertificateFile, I tried placing the root in TLSCACertificateFile and the chain in TLSCertificateChainFile, I tried placing the root in TLSCACertificateFile and the cert + chain in TLSRSACertificateFile, nothing worked.
Any help would be appreciated.