search cancel

API Portal Legacy: How to update the Portal certificates to reconnect the Gateway after certificate update


Article ID: 142404


Updated On:


CA API Gateway CA API Developer Portal


After updating the API Gateway's default certificate the API Portal Legacy may be unable to connect to the Gateway using API Explorer and other features may be impacted. Usually a NullPointerException will also be seen such as the following:

at com.l7tech.apiexplorer.ssl.SSLUtils.dumpCert(
at com.l7tech.apiexplorer.ssl.SSLSocketFactoryProviderImpl.addPrivateKey(
at com.l7tech.apiexplorer.ssl.SSLSocketFactoryProviderFileImpl.<init>(
at com.l7tech.apiexplorer.SSLUtility.getSslSocketFactoryProvider(
at com.l7tech.apiexplorer.SSLUtility.wrapClient(
at com.l7tech.apiexplorer.ApiExplorer.processRequest(


This impacts all API Portal Legacy versions - 3.5 and older.


This will occur when a certificate is updated on the Gateway but not updated with the Portal too.


To resolve, simply rerun the script and specify the new new certificate. This will reconfigure the portal with the updated certificate. See the link below in the Additional Information section to view the product documentation which references the script.

Additional Information

Documentation on setting up the API Portal Legacy: