Save certificate to use with lftp
Posted
by
Greg C
on Super User
See other posts from Super User
or by Greg C
Published on 2013-10-26T06:57:44Z
Indexed on
2013/10/26
9:58 UTC
Read the original article
Hit count: 476
certificate
|ftps
How can I save a certificate for use with lftp?
The certificate in question is not accepted by lftp when downloaded from the server. I tried
openssl s_client -connect {HOSTNAME}:21 -showcerts
from How to save a remote server SSL certificate locally as a file but this returns
CONNECTED(00000003) 3074045628:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:766:
no peer certificate available
I am connecting with
lftp -p 21 -u {USER} {HOSTNAME}
and receive
ls: Fatal error: Certificate verification: Not trusted
© Super User or respective owner