cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace Integration with Jira (Add Jira Certificate)

jemartineza
Participant

Hi.

I am trying to integrate Dynatrace with Jira.

At the moment of the integration it sends me the message.

"JIRA integration test failed - Reason: Too many test attempts. Please try again in a few seconds."

I did the test in Postman to validate the connection with Jira but it sent me the same message.

In Postman I added the Jira certificate and validated again, which was successful.


How can I add or reference the Jira certificate for the Dynatrace integration?




6 REPLIES 6

If you are using Dynatrace Managed, you should look at this:

https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/configuration/how-t...

I don't think there is any option for adding certificate using gui right now.

Sebastian

Hi

When running the steps and executing the command

I get the following error.

import_trusted_certificate.sh archivet.cer certification

import_trusted_certificate.sh: line 3: $'\r': command not found

import_trusted_certificate.sh: line 6: $'\r': command not found

import_trusted_certificate.sh: line 16: syntax error near unexpected token `$'{\r''

'mport_trusted_certificate.sh: line 16: `importCert() {


It looks like some unwantend whitechars in sh script. Did you download sh script and copy it via SFTP or copy paste it's content into terminal?

Sebastian

Hi.

It was solved by performing the following.

In this way I could make the correct integration of Dynatrace with Jira

Importing the jira certificate to the dynatrace server

The following command is executed to import

1.- Copy the .cer file to the path

/opt/dynatrace-managed/server/jre/lib/security

2.- Execute the following command to import the certificate.

/opt/dynatrace-managed/server/jre/bin/keytool -import -alias jira -keystore cacerts -file certificateJira.cer -storepass changeit

3.- The file is generated cacerts

/opt/dynatrace-managed/server/jre/lib/security/cacerts

4.- Replace the cacerts file in the following paths

PRODUCT_PATH/server/jre/lib/security/cacerts

PRODUCT_PATH/security-Gateway/jre/lib/security/cacerts

PRODUCT_PATH/nodekeeper/jre/lib/security/security/cacerts

5.- Restart Dynatrace Server.

/opt/dynatrace-managed/launcher/dynatrace.sh restart

jemartineza
Participant

Hi.

It was solved by performing the following.

In this way I could make the correct integration of Dynatrace with Jira

Importing the jira certificate to the dynatrace server

The following command is executed to import

1.- Copy the .cer file to the path

/opt/dynatrace-managed/server/jre/lib/security

2.- Execute the following command to import the certificate.

/opt/dynatrace-managed/server/jre/bin/keytool -import -alias jira -keystore cacerts -file certificateJira.cer -storepass changeit

3.- The file is generated cacerts

/opt/dynatrace-managed/server/jre/lib/security/cacerts

4.- Replace the cacerts file in the following paths

PRODUCT_PATH/server/jre/lib/security/cacerts

PRODUCT_PATH/security-Gateway/jre/lib/security/cacerts

PRODUCT_PATH/nodekeeper/jre/lib/security/security/cacerts

5.- Restart Dynatrace Server.

/opt/dynatrace-managed/launcher/dynatrace.sh restart

Steps to add Jira certificate to Dynatrace server