Proxy configuration for PUSH notification in AFM

book

Article ID: 129910

calendar_today

Updated On:

Products

CA Rapid App Security CA Advanced Authentication CA API Gateway

Issue/Introduction



For a starting project in one of the customers we are required to configure the Push notification using the FCM service
Following the documentation(https://docops.ca.com/ca-advanced-authentication/9-0/en/building/push-notification/configure-ca-adapter-for-push-service), we are required to connect to "https://fcm.googleapis.com/fcm/send"
Since Corporate Policies don't allow applications to connect to the Internet without using a Proxy, we need to configure it.
How can we configure the Proxy settings in AFM for the Push?

 

Environment

9.0

Resolution

Proxy configuration is not supported OOTB in CA Adapter AFM as of now and this is in road map and should be part of the product soon.
We have found a work around to this issue and following steps can be followed to support Proxy in the product.

Add the following Java Options to the JVM that the app server is using (for example JAVA_OPTS in catalina.bat / catalina.sh /catalina.properties for Tomcat) - 

-Dhttp.proxyHost 
-Dhttp.proxyPort 
(-Dhttps.proxyHost and -Dhttp.proxyPort if it is https) 

And -Dhttp.proxyUser, -Dhttp.proxyPassword if required.