CertificateTooOldException when Configuring Trusted Application Link
Symptoms
Setting up Trusted Communication between Stash and JIRA may fail with the exception below:
2013-12-09 08:25:35,815 http-bio-80-exec-3896 WARN anonymous 505x1037338x2 - 10.0.18.77 /rest/api/2/search [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] Failed to login trusted application: 0A00124D01405B0743A26A350C02BC37 due to: com.atlassian.security.auth.trustedapps.CertificateTooOldException: Certificate too old. Application: 0A00124D01405B0743A26A350C02BC37 Certificate Created: Mon Dec 09 08:23:59 EST 2013 Timeout: 10000
Cause
There is a date/time difference between the Stash server and JIRA server. The problem usually occurs after re-starting one of the application's server, whereby the NTP is not timely synchronised thus causing an offset.
Resolution
- Verify the system clocks are similar. If the servers are in different timezones, ensure that their OS timezones are set correctly. Use a NTP time server if you're finding the clocks are going out of sync very often.
- Increase the Certificate Timeout (ms) value as per our Configuring Trusted Applications Authentication for an Application Link documentation.
Last modified on Mar 30, 2016
Powered by Confluence and Scroll Viewport.