• Register
0 votes
335 views

Problem :

I have facing an issue with my C# PayTrace Gateway. My code was working fine until they turned off SSL3 due to the Poodle Exploit. When tried running my code I am getting the following message:

The remote server has forcefully closed the connection.

After doing a lot of research on the above mentioned error I determined that as our IIS Server 7.5 was configured by us to use SSL3 so C# defaulted to SSL3, and because of that PayTrace had forcibly closed the connection. After that we removed SSL3 from our server.

But  after that we faced following error:

The client and server cannot communicate, because they do not possess a common algorithm.

Any clue on error messages which I am facing?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

There are many other discussions about this issue and now they all point to enabling TLS 1.2. And they are confirming that anything less is clearly unsafe.

You can try this in .NET 3.5 with a patch.
You also try this in .NET 4.0 and 4.5 with a single line of code as follows:

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; // .For NET 4.5

ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072; // For .NET 4.0

And please note  .NET 4.6, automatically uses TLS 1.2.

9 7 4
38,600 points

Related questions

1 vote
1 answer 2 views
2 views
Problem: I need the solution of this problem. Rsa server certificate commonname does not match server name.
asked Apr 25 PkGuy 23.5k points
0 votes
1 answer 8 views
8 views
Problem: I copied an MVC project from another development pc to my laptop and tried to deploy it on the laptop which gave this error. The user account password was changed recently prior to this error. I tried tinkering around with the app pool permissions for the root ... ="%SystemDrive%\inetpub\wwwroot" userName="{MY ACCOUNT}" password="[enc:AesProvider:{etc etc etc}:enc]" /> 147: </application>
asked Apr 2 nabin 4.6k points
0 votes
1 answer 7 views
7 views
Problem: I have configured a ListenHTTP 1.7.0 processor in NiFi 1.7.0-RC1. It is listening on a custom port behind a reverse proxy. I have configured a StandardRestrictedSSLContextService with a JKS keystore and have added the keystore password. We have not configured ... support a common SSL protocol version or cipher suite. Can anyone suggest what to try next or explain why we see this error?
asked Apr 25 sumaiya simi 43.9k points
1 vote
1 answer 407 views
407 views
Problem : I have recently developed one page which I guess takes more time to load in the asp.net website. My page currently works with all the Android OS, all of the MAC OS and all iOS but it fails with iOS with version 10.0.0.2 with only safari browser. If I ... the DNS server Tried the Airplane mode on-off Also did my iPhone restart But still unable to fix it. Can someone help me in fixing it?
asked Apr 1, 2020 morrisBson 3.2k points
0 votes
1 answer 5 views
5 views
Problem: How to fix this? "No common encryption algorithm s error code ssl_error_no_cypher_overlap."
asked Apr 11 muktaa 34.4k points
0 votes
1 answer 4 views
4 views
Problem: This is showing while I was trying to fix the curl. "Cannot communicate securely with peer: no common encryption algorithm(s)." Can anyone fix this?
asked Apr 11 muktaa 34.4k points
0 votes
1 answer 8 views
8 views
Problem: I'm receiving many alert from iPhone and Mac users says receiving error on connecting to my website. The error reported is:Safari cannot open the page because cannot establish a secure connection to the server.The site has a valid certificate, and use TLS 1.2. I ... 't have an iPhone so I cannot test and debug the problem. The site address is: www.chicaj.com Any help is very appreciated
asked Apr 23 sumaiya simi 43.9k points
0 votes
0 answers 4 views
4 views
Problem: We have the following snippet in a Web API action than handles PDF requests. The action renders the PDF correctly in browsers. Everything is working fine, except for an issue that we came across today. If a user copies a PDF link from the website into Word, Word ... Word for Office 365 MSO (16.0.12130.20232) 32-bit Windows: Windows 10 Enterprise 64 bit Version 1903 (OS build 18362.476)
asked 1 day ago Yeamin 21.4k points
1 vote
1 answer 15 views
15 views
Problem: How to solve this problem? The client and server don't support a common ssl protocol version or cipher suite.
asked Mar 29 PkGuy 23.5k points
0 votes
1 answer 3 views
3 views
Problem: My error is: Config Error: Cannot read configuration file due to insufficient permissions. Config File: \?\C:\Users*****\Documents\Visual Studio2010\WebSites\PointsForTime\web.config.What can i do?
asked 3 days ago sumaiya simi 43.9k points