How to use .p12 or .cer file to connect to SFTP?

(I am using Windows Server 2012 R2 Datacenter)

I have to connect to an external party's SFTP server. They gave me a .p12 file, a .cer file, a password and an IP address. However, I can't seem to put those certificate files to good use, Google is currently not being my friend, and I'm not able to contact this external party for more information.

What I have tried so far:

  • I have imported both the .cer and .p12 files into my server's Trusted Root Certification Authorities, and verified that they are there.
  • I have tried adding a Workgroup connection based on the IP address they gave me, but the IP address still cannot be resolved.
  • I have tried connecting to the IP address directly with FileZilla, but I couldn't find an option to connect based on a certificate file.
1
задан 6 June 2017 в 09:47
1 ответ

Сертификаты чаще используются с TLS / SSL (FTPS), а не с SSH / SFTP.

Вы уверены, что должны подключаться по SFTP? Разве это не FTPS? Эти двое часто ошибаются.


Последние версии OpenSSH поддерживают проприетарный метод аутентификации, который действительно использует сертификаты. Но я не думаю, что этот метод поддерживается любым другим клиентом SSH / SFTP. Это определенно не поддерживается FileZilla.

2
ответ дан 3 December 2019 в 20:21

Теги

Похожие вопросы