I copied the private key from the pure-ftpd.pem into a temporary x.pem
I ran openssl req -new -x509 -key x.pem -out certificate.cer -days 1825
I replaced the cert part of pure-ftpd.pem with the contents of certificate.cer
I removed the x.pem and certificate.cer
The certificate has an expiry date while the private key in this case does not appear to (at least, it wasn't the private key that caused the test issues this time).
627
For future reference - to gen the cert
openssl req -new -x509 -key x.pem -out certificate.cer -days 1825
The certificate has an expiry date while the private key in this case does not appear to (at least, it wasn't the private key that caused the test issues this time).