Host certificate
Hi Support
I am using the WinSCP API to connect to a FileZilla FTP server.
The server has been set up with the following configuration:
Enabled FTP over TLS
Disabled unencrypted FTP
Disabled explicit FTP
So basically I only allow implicit FTP.
Using the WinSCP client i can connect by configuring the following settings:
File protocol: FTP
Encryption: TLS/SSL Implicit encryption
Host name: <server IP address>
Port number: 990 (default set)
Rest of it, is as default.
Using WinSCP API i can connet using the following settings:
Protocol: Ftp
FtpMode: Passive
FtpSecure: Implicit
HostName: <server IP address>
GiveUpSecurityAndAcceptAnyTlsHostCertificate: false
SshHostKeyFingerprint: null
TlsHostCertificateFingerprint: <certificate fingerprint>
Rest of it, is as default.
I got the TlsHostCertificateFingerprint from a WinSCP client session to the FTP server.
My question is, how do i get a certificate fingerprint if i don't use the WinSCP client. I basically want to be able to do the same thing that the client does when it generates or retrieves the certificate. How does the client get the certificate?
I am using the WinSCP API to connect to a FileZilla FTP server.
The server has been set up with the following configuration:
Enabled FTP over TLS
Disabled unencrypted FTP
Disabled explicit FTP
So basically I only allow implicit FTP.
Using the WinSCP client i can connect by configuring the following settings:
File protocol: FTP
Encryption: TLS/SSL Implicit encryption
Host name: <server IP address>
Port number: 990 (default set)
Rest of it, is as default.
Using WinSCP API i can connet using the following settings:
Protocol: Ftp
FtpMode: Passive
FtpSecure: Implicit
HostName: <server IP address>
GiveUpSecurityAndAcceptAnyTlsHostCertificate: false
SshHostKeyFingerprint: null
TlsHostCertificateFingerprint: <certificate fingerprint>
Rest of it, is as default.
I got the TlsHostCertificateFingerprint from a WinSCP client session to the FTP server.
My question is, how do i get a certificate fingerprint if i don't use the WinSCP client. I basically want to be able to do the same thing that the client does when it generates or retrieves the certificate. How does the client get the certificate?