PRPC 7.1.6 Connect Rest Issue - No way to select type of secure protocol type (SSL/TLS)
We are currently using 7.1.6 version of Pega and trying to consume a rest service. In the Connect rest rule there is no place to select Secure protocol Type and we are trying to customize the pyInvokeRESTConnector activity.
Is there any other way or similar case anyone faced?
We were trying to consume a service using Connect-Rest. The service side is pointed to Secure protocol version ( TLSv 1.2). As we were there on Pega 7.1.6, we got confirmation from SR team that 7.1.6 only supports until TLS V1.1 and we need to upgrade.
Newer versions of the Pega 7 platform (newer than 7.1.6) have proper support for TLS version 1.2, and also an improved way to control what versions of TLS are used for each connection. Upgrading will surely give you a better experience.
In the pyRESTConnector activity, step 4 will have the code to set the required parameters for the REST invocation. In one of the variables the value was set to SSL, this needs to be changed to TLSV1.2. Please find the code below.
// HFix-9721 START
String truststoreName = stepPage.getString("pyTruststoreName");
String keystoreName = stepPage.getString("pyKeystoreName");
// default to SSL for now
String protocol = "SSL";
In the above code, instead of SSL try setting the value.