Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to establish SSL connection in endpoint for PEGA IAC



When SSL encryption is implemented in a Pega application with load balancing functioning on https access, the SSL endpoint of an IAC gadget returns a null pointer error during connection test. 

Error Messages

org.apache.jasper.JasperException: An exception occurred processing JSP page /webwb/testConnect.jsp at line 20

17: }else{
18: validCertificates=true;
19: }
20: certificatesFound = com.pega.pegarules.gateway.util.GatewayAdminUtils.checkCertificates(url);
21: }
22: boolean isConnected = com.pega.pegarules.gateway.util.GatewayAdminUtils.checkConnectivity(url);
23: if(isConnected){

sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
java.lang.reflect.Method.invoke($$ Method)

Steps to Reproduce

Enter the SSL URL (https://...) for the PRPC in the IAC Host Configuration and perform a "test connection".

Root Cause

An issue in the custom application. After implementing the SSL, user did not imported the root certificated in the  /WEB-INF/lib/prgateway.jks.
Also as per Customer organization policy, they are not allowed to import certificates into any non organizational specific keystore


One can use either the shipped /WEB-INF/lib/prgateway.jks with IAC or any custom keystore in .jks format only. 

To use custom .jks file with location and password, edit the prgateway "\WEB-INF\web.xml" and set the "GatewayKeyStoreFile" location and "GatewayKeyStorePassword" as per you standard key store location and password as follows:



Change the above two parameters "GatewayKeyStoreFile " and "GatewayKeyStorePassword". I have used a custom keystore as "mykeystore.jks" and location as "C:\mykeystore". The password I have used as "mypassword". It is up to your choice if you want to place the keystore in the war file or outside.



After appending these changes, restart the Application server, where IAC is installation is required. 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us