-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Affects Version/s: Companion-1.4.2
-
Component/s: Content - Edit Files / Companion
-
None
-
13
-
Severity 2 - Major
-
168
Issue Summary
Atlassian Companion App version 1.4.2 is not working due to SSL certificate/cert errors.
This is reproducible on Data Center: yes
Steps to Reproduce
- Download and install the Atlassian Companion app 1.4.2.
- Make sure the Atlassian companion app 1.4.2 is up and running.
- Login to any Confluence site with SSL enabled.
- Try editing an attachment; it will invoke the Atlassian Companion app, which will try to download the file and will fail with Below Error:
Download Failed, head back to Confluence to try again.
Expected Results
The Atlassian Companion App 1.4.2 should be able to open the file after downloading and then open the application with which the file can be edited and saved, after which the Atlassian Companion App 1.4.2 should upload the file to Confluence.
Actual Results
The below exception is thrown in the companion.log file on opening any file to edit, with Download failed message in the UI popup box. Attached are the screenshots.
Download Failed, head back to Confluence to try again.
- For SSL certificate signed by Internal Root CA present in truststore client's machine.
error: adc:file-manager 2023-02-17T12:25:29.218Z Error: self signed certificate in certificate chain at TLSSocket.onConnectSecure (_tls_wrap.js:1331:34) at TLSSocket.emit (events.js:210:5) at TLSSocket.EventEmitter.emit (domain.js:476:20) at TLSSocket._finishInit (_tls_wrap.js:804:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:618:12) error: adc:file-manager 2023-02-17T12:25:29.218Z Error: self signed certificate in certificate chain at TLSSocket.onConnectSecure (_tls_wrap.js:1331:34) at TLSSocket.emit (events.js:210:5) at TLSSocket.EventEmitter.emit (domain.js:476:20) at TLSSocket._finishInit (_tls_wrap.js:804:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:618:12)
- For SSL certificate signed by well-known Root CA*:-
error: adc:file-manager 2023-02-17T12:27:14.785Z Error: certificate has expired at TLSSocket.onConnectSecure (_tls_wrap.js:1331:34) at TLSSocket.emit (events.js:210:5) at TLSSocket.EventEmitter.emit (domain.js:476:20) at TLSSocket._finishInit (_tls_wrap.js:804:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:618:12) error: adc:file-manager 2023-02-17T12:27:14.785Z Error: certificate has expired at TLSSocket.onConnectSecure (_tls_wrap.js:1331:34) at TLSSocket.emit (events.js:210:5) at TLSSocket.EventEmitter.emit (domain.js:476:20) at TLSSocket._finishInit (_tls_wrap.js:804:8) at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:618:12)
Workaround
Atlassian companion app version 1.4.1 should be reinstalled, which works fine.