How disable CRL checking when using WinSCP dll in BizTalk 2020

Advertisement

bal
Guest

How disable CRL checking when using WinSCP dll in BizTalk 2020

Hello WinSCP
We are using BizTalk 2020 with WinScp 5.17 Automation DLL as stated in Microsoft BizTalk installation.
We are getting error reagrding CRL check and i will describe the scenario:

We have a Biztalk 2020 FTPS (impilict with SSL) send port defined for sending some files to one of your partner. When we try to authenticate with the FTPS server, we are getting the error "the certifikat is revoked", but we want to connect even if the certificat is revoked.
Where do I set the flag that tell the WinSCP dll to ignore this CRL check and the certificat.

Thnaks

Reply with quote

Advertisement

bal
Guest

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

How do you set this in the winscp config file..? I can't set thsi by code, because we do not have access to Microsofts implantation of WinScp in Biztalk as mention we only have access to a WinSCP ini file!

Reply with quote

martin
Site Admin
martin avatar

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

I do not know anything about the Bit Talk WinSCP config file. Can you post some reference? Or an example of the file?

Reply with quote

Bal
Guest

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

Hi
I have attached a screen dump af the files in the BizTalk Folder and also attached the WinSCP.ini file.

https://docs.microsoft.com/en-us/biztalk/install-and-config-guides/set-up-and-install-prerequisites-for-biztalk-server-2020
Look at the bottom for spec.

Can you tell me how to define in this winscp.ini file to ignore the revoked certificate.

thanks..

Description: WinSCP files in BizTalk folder

WinSCP_files.JPG

Description: WinSCP ini file

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

The file is almost empty. I do not see any entry that would define your session. Are you sure the file is even used? I do not se any reference to it in the documentation. How do you define the SFTP session in BizTalk? If the file is used, you can add [FtpsCertificates] section with the fingerprint. But I doubt it is used. WinSCP .NET assembly does not use any INI file by default.

Reply with quote

bal
Guest

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

We don't know how Microsoft is using the WinSCP dll and exe file in BizTalk. We have a BizTalk GUI where we put the SFTP values and the rest is done by BizTalk automatic..

Reply with quote

martin
Site Admin
martin avatar

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

So did you try adding the certificate to the INI file?

Reply with quote

bal
Guest

Re: How disable CRL checking when using WinSCP dll in BizTalk 2020

Hi yes i tried and it didn't help.. i still getting the error.. but now we have been in contact with the partner and they have re-newed the certificate..

But it will be nice still to know how to disable CRL check using the winscp and BizTalk..

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum