Splunk AppDynamics

SSL configuration of controller with load balancer setup

CommunityUser
Splunk Employee
Splunk Employee
Hi ,

I have installed 4.3 controller and used load balancer to configure the HA setup .

Next steps is for ssl configuration for that I have performed the below steps

1- Requested certificate key tool
2- installed root Certificates
3- tried to import certificate received by authorities but failed

Error : "Failed to establish chain from reply"

Please assist on this
Labels (3)
0 Karma
2 Solutions

CommunityUser
Splunk Employee
Splunk Employee
  • If you get the error "Failed to establish chain from reply", install the issuing Certificate Authority's root and any intermediate certificates into the keystore. The root CA chain establishes the validity of the CA signature on your certificate. Although most common root CA chains are included in the bundled JVM's trust store, you may need to import additional root certificates, such as certificates belonging to a private CA. To do so:

    keytool -import -alias [Any_alias] -file <path_to_root_or_intermediate_cert> -keystore <controller_home>/appserver/glassfish/domains/domain1/config/keystore.jks

        When done importing the certificate chain, try importing the signed certificate again.

See https://docs.appdynamics.com/display/PRO43/Controller+SSL+and+Certificates -- Step 9.

View solution in original post

0 Karma

Saradhi_Pothara
Communicator

Could you let us know how the LB and Controller are configured?

1) Are you terminating SSL on LB or is it SSL at LB as well as Controller?

2) After generating the CSR and getting it signed, did you import both the root and intermediate certificates in the chain?

3) Would you be able to list the contents of the Keystore and also share the logs where you see the error?

Regards,

Saradhi

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
  • If you get the error "Failed to establish chain from reply", install the issuing Certificate Authority's root and any intermediate certificates into the keystore. The root CA chain establishes the validity of the CA signature on your certificate. Although most common root CA chains are included in the bundled JVM's trust store, you may need to import additional root certificates, such as certificates belonging to a private CA. To do so:

    keytool -import -alias [Any_alias] -file <path_to_root_or_intermediate_cert> -keystore <controller_home>/appserver/glassfish/domains/domain1/config/keystore.jks

        When done importing the certificate chain, try importing the signed certificate again.

See https://docs.appdynamics.com/display/PRO43/Controller+SSL+and+Certificates -- Step 9.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have used below command to geneated the pair

> i have puted the alias name for SAN and CN as primary controller

keytool -genkeypair -keyalg RSA -keysize 2048  -validity 1825 -alias s1as -ext SAN=dns:Load balncer alias (example.com) -keystore keystore.jks -storetype JKS -dname "CN=priamry controller server name,OU=Test, O=XYZ, L=Country, ST=CITY, C=SE"

I have imported root certificate alereay but still getting issue

Is there anything missed by me in above command ?

just for info we have other envirment where no load balancer concept and for that it is applied successfully 

0 Karma

Saradhi_Pothara
Communicator

Could you let us know how the LB and Controller are configured?

1) Are you terminating SSL on LB or is it SSL at LB as well as Controller?

2) After generating the CSR and getting it signed, did you import both the root and intermediate certificates in the chain?

3) Would you be able to list the contents of the Keystore and also share the logs where you see the error?

Regards,

Saradhi

0 Karma

dhirendra_singh
Loves-to-Learn Lots

I am terminating SSL at LB and now i have applied CSR on with LB name and applied on both the HA controller Node with root certificate which is working as expected 

thanks for response

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

@Vasu.Ramachandran -- please ask one of your team members to assist.

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...