cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

Help with HTTP Request API

soundarajan
Maker

Help with HTTP Request API

Hi,

 

I'm working on the task of integrating Appdynamics with our org ITSM tool to generate an Incident ticket whenever there is an event triggered in AppD. So I've created an HTTP request API with payload content and created a template. When I test the configuration it throws me an error. 

 

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Could someone please help me on this to fix it. 

 

Regards,

Soundarajan

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Help with HTTP Request API
3 REPLIES 3
Atyuha.Pal
AppDynamics Team

Hi Soundarajan,

 


This error indicates that you don't have controller's certificates to make http call at program side. 
You will have to import certificates at java trust store to make successful connection. 

Please refer to the below doc

https://docs.appdynamics.com/display/PRO43/Controller+SSL+and+Certificates

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
soundarajan
Maker

Hi Atyuha, Thanks So Much for your reply. Could you please advise whether we need to place the certificates into the Controller environment directory or local machine where we're executing this HTTP call. PS: Our Controller is in SAAS model.

Atyuha.Pal
AppDynamics Team

Hi,

 

The certificates have to be imported to <controller_home>/bin/appserver/glassfish/domains/domain1/config/cacerts.jks but for SaaS controller OPS team would not allow it for security reasons. So the certificates need to be singed by public CA that is already available in <controller_home>/bin/appserver/glassfish/domains/domain1/config/cacerts.jks and any new certificate will not be imported.

 

Thanks,

Atyuha



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.