I'm writing a system in which separate threads connect to different servers over HTTPS.
One of the remote server I need to connect to is really dumb (Oracle App Server-10g) and requires me to downgrade the the Security-Protocol to SSL3 instead of the TLS.
The only strategy I know to make it work, is to set the value
SecurityProtocolType.Ssl3 in the property
SecurityProtocol of the
ServicePointManager class. (more info
here). But also have to deal in parallel with other smarter servers which are requiring Tsl secutity protocol.
Questions:
- since ServicePointManager is a static class,
- and since I have several threads consumings services from different Https servers at the same time (some with Ssl3, some with Tls),
=> is there any potential threading problem by switching back in forth between static
SecurityProtocol.ServicePointManager from Ssl3 to Tls?
=> does setting a value is SecurityProtocol.ServicePointManager in one thread, impact the other threads?
Corrolary Question:
=> does setting a value is SecurityProtocol.ServicePointManager in one application, impact the other applications?