how to make PowerBuilder 12.5 web service TLS 1.2 compliant - web-services

Currently we have a PowerBuilder 12.5 application that has worked fine for years until the company we are sending data to changed their security to accept only TLS 1.2. Does anybody know if it is possible to make PowerBuilder 12.5 work with TLS 1.2?

The problem is that TLS 1.2 compliance requires .NET 4.5 and the highest version of .NET supported by PowerBuilder is .NET 4.0.
PowerBuilder 11 uses .NET 2.0
PowerBuilder 12 uses .NET 3.5
PowerBuilder 12.5 uses .NET 4.0
This kludge may work:
Registry change to force .Net 4.0 to use TLS 1.2
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319: SchUseStrongCrypto to DWORD 1
The default value will be 0. Simply change this to 1 to get .Net 4.5 System.dll use TLS 1.2. Since our 4.0 application uses 4.5 System.dll 4.0 gets TLS 1.2 support.

Had a similar issue using Powerbuilder 12.5 Web Service Proxy. Attempted the above solution worked but had to add the missing Reg Key to this location
32Bit Version:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
64Bit Version:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001

Related

Is there a way to get a newer version of the Duo SDK for ColdFusion?

Currently the only version of the SDK for Duo works with the deprecated v2 of Duo's web SDK. I'm looking for a way to simply get started with bringing Duo's 2FA into my ColdFusion application. I've looked at Duo's guide for upgrading from v2 to v4 and it isn't terribly specific. They seem to no longer be developing the ColdFusion SDK, but I've got a very large legacy ColdFusion application that can't be easily migrated to node or something else at the moment. This is the SDK I've seen so far: https://github.com/duosecurity/duo_coldfusion

Does SChannel support TLS 1.3 ? Need help w.r.t example client/server programs in C/C++ for implementing TLS 1.3 using SChannel?

Does SChannel support TLS 1.3 ? I need help with regard to example client/server programs in C/C++ for implementing TLS 1.3 using SChannel.
I found SChannel.h defines SP_PROT_TLS1_3_CLIENT as 0x00002000, etc.
But the grbitEnabledProtocols field of SCHANNEL_CRED does not mention anything about TLS 1.3.
I was unable to find any other information on the Internet to document whether SChannel supports TLS 1.3 or not.
SCH_CREDENTIALS - Win32 apps | Microsoft Docs
SChannel support TLS1.3, In order to use TLS 1.3 with schannel, you should use the SCH_CREDENTIALS structure with AcquireCredentialsHandle().
The SCHANNEL_CRED structure has been deprecated. Starting with Windows 10, 1809 (October 2018 Update), you should use SCH_CREDENTIALS.

What .Net framework should my Sitecore 7.0 build target?

We are upgrading a Sitecore 6.4 solution to 7.0 (release 2).
For development this requires Visual Studio 12 and .Net 4.5 framework.
Our production environment is running Windows 2008 R2, .Net 4.0 and our solution is running in a .Net 4.0 app pool.
We don't currently have any solution code that requires .Net 4.5 specific features.
So a multipart question:
What benefits are there to upgrading the .Net framework on the server and targeting .Net 4.5 in the build?
Is there a potential performance gain?
What are the potential drawbacks?
What .Net framework does Sitecore itself target?
Thanks to Sitecore Climber in the comments -
From the Sitecore 7.0 Installation guide:
2.1.3
.NET Framework Requirements
Sitecore CMS 7 requires .NET Framework 4.5.
Any available updates to the .NET Framework should be applied to every Sitecore host.

Does IE 11 support applications developed in Silverlight 5?

We have developed a web application with using Silverlight 5. We are facing problems in IE 11. The application is not even loading in IE 11. But it is working fine in IE 10 and other browsers like Chrome and Mozilla.
When we debug, the "Silverlight.__startup();" function itself is not called when we focused the silverlight object. Could you please clarify for us whether will IE 11 support Silverlight applications or not. If yes, could you please provide some tips / suggestions to load the SL application in IE 11. If you can able to provide a sample app, that will be great for me.
Also, we are using jquery 1.4.1 version. Will IE 11 support this version or not. If not, which version of jquery we have to use in IE 11?
You should upgrade to the latest version of jQuery.
In principle, Desktop IE11 will support Silverlight in the Trusted Sites and Intranet zones.
The Immersive version of IE (Win8/Win8.1 app environment) doesn't support add-ons.
Silverlight is a legacy add-on which is not compatible with Enhanced Protected Mode, which is now on-by-default in the Internet Zone.
I just install IE11 replacing IE10 on Windows 7, and all my application Under Silverlight work fine.
What I have done :
option Internet Intranet : allow initialize activeX
Parameter compatibility : set to Trust my Intranet Server.
Surprise : I can look demo of Devexpress.com on Silverlight, without any change on security on Internet
Regards

Rally Webservice v2.0 via SDK 1.32?

My question is concerning the Rally javascript SDK 1.32.
My line of thinking is this: SDK 1.32 seems to only return objects with APIMajorVersion 1 and MinorVersion 32, yet there exist versions from 1.33 to 1.43 as well (though they are all now deprecated as well). It makes sense to me that since SDK 2.0 must return objects from version 2.0, that there should be a way to specify what webservice version to return objects from.
My question is this: am I right that there is a way to obtain Rally objects from webservice v2.0 from SDK 1.32? If so, how would I do that?
I'm not just asking this out of laziness-- I am on the tail-end of an internship and would not necessarily have time to learn the new SDK and reimplement all that I have done on SDK 1.32.
Thanks for any responses!
This answer:
1.39 Rally API Version source for Java Script
shows how to utilize AppSDK 1.x using different versions of WSAPI.
However, AppSDK 1.x utilizes the adhoc.js Webservices endpoint for querying. This endpoint has been deprecated in Webservices 2.0. As a result, AppSDK 1.x will not work against Rally Webservices 2.0.
I'd recommend using AppSDK 2rc1, which is built on Webservices 2.0.