使用 SSIS 连接到具有证书的 FTP 服务器
connecting to a FTP server that has a certificate using SSIS
我正在尝试从生产环境中的 FTP 站点下载文件。 FTP 站点已分配有证书 (pfx)。 FTP 端口为 21。
由于此证书,我无法使用 SSIS 中的 FTP 任务下载内容。
我尝试使用脚本任务,但是我得到了相同的错误,ftp 由于证书无法完成连接。
我也尝试过使用 SFTP 组件,但出现如下所示的错误
[Execute: ] Error: Error: Unable to List: Socket read operation has
timed out
at SSIS.Extensions.SFTP.SFTPConnection.ThrowException(String
Message, Exception ex) at
SSIS.Extensions.SFTP.SFTPConnection.ListFiles(String remotePath) at
SSIS.Extensions.SFTPTask.SFTPTask.Execute(Connections connections,
VariableDispenser variableDispenser, IDTSComponentEvents
componentEvents, IDTSLogging log, Object transaction)
我用谷歌搜索了这个错误,发现 SFTP 没有使用 TLS/SSL(既不隐式也不显式)。 Explicit/Implict TLS/SSL 与 post
中的 FTP 一起使用
有没有办法使用 SSIS 连接到具有关联证书的 FTP?
找到答案....我们可以使用 FTP 任务本身来连接具有关联证书的 FTP。
以下是此问题的解决方法...
当我们在 IIS 中创建 FTP 站点时,有三个 SSL 选项。
- 允许 SSL
- 需要 SSL
- 无 SSL
NO SSL 选项不允许将 SSL 证书用于 FTP
允许和要求 SSL 为 FTP.
提供 SSL 功能
In the FTP site that I had has the Require SSL option selected. I
changed that option to Allow SSL which still enables the SSL feature
for the FTP but allows the FTP task
我正在尝试从生产环境中的 FTP 站点下载文件。 FTP 站点已分配有证书 (pfx)。 FTP 端口为 21。
由于此证书,我无法使用 SSIS 中的 FTP 任务下载内容。
我尝试使用脚本任务,但是我得到了相同的错误,ftp 由于证书无法完成连接。
我也尝试过使用 SFTP 组件,但出现如下所示的错误
[Execute: ] Error: Error: Unable to List: Socket read operation has timed out
at SSIS.Extensions.SFTP.SFTPConnection.ThrowException(String Message, Exception ex) at SSIS.Extensions.SFTP.SFTPConnection.ListFiles(String remotePath) at SSIS.Extensions.SFTPTask.SFTPTask.Execute(Connections connections, VariableDispenser variableDispenser, IDTSComponentEvents componentEvents, IDTSLogging log, Object transaction)
我用谷歌搜索了这个错误,发现 SFTP 没有使用 TLS/SSL(既不隐式也不显式)。 Explicit/Implict TLS/SSL 与 post
中的 FTP 一起使用有没有办法使用 SSIS 连接到具有关联证书的 FTP?
找到答案....我们可以使用 FTP 任务本身来连接具有关联证书的 FTP。
以下是此问题的解决方法...
当我们在 IIS 中创建 FTP 站点时,有三个 SSL 选项。
- 允许 SSL
- 需要 SSL
- 无 SSL
NO SSL 选项不允许将 SSL 证书用于 FTP 允许和要求 SSL 为 FTP.
提供 SSL 功能In the FTP site that I had has the Require SSL option selected. I changed that option to Allow SSL which still enables the SSL feature for the FTP but allows the FTP task