![]() ![]() * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (OUT), TLS header, Certificate Status (22): * CAfile: /usr/local/etc/openssl/cert.pem ![]() ![]() * Cipher selection: successfully set certificate verify locations: * Connected to SERVER-IP (SERVER-IP) port 21 (#0) It works for FileZilla but with curl it seems I can't re-use the same certificate, I downloaded the certificate file from the server and am useing it like so $ curl -v -cert ~/.ssh/vsftpd.pem -user MYUSER:PASSWORD ftp://SERVER-IP Rsa_private_key_file=/etc/ssl/private/vsftpd.pem Rsa_cert_file=/etc/ssl/private/vsftpd.pem $ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem Following this tutorial I managed to add FTPS connectivity to the server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |