Atlassian Companion App version 1.4.2 is not working due to SSL certificate/cert errors.

XMLWordPrintable

    • 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

      1. Download and install the Atlassian Companion app 1.4.2.
      2. Make sure the Atlassian companion app 1.4.2 is up and running.
      3. Login to any Confluence site with SSL enabled.
      4. 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.

        1. InternalRootCASSL.png
          InternalRootCASSL.png
          1.95 MB
        2. WellKnownCAsignedSSL.png
          WellKnownCAsignedSSL.png
          2.48 MB

            Assignee:
            Duy Truong Luong
            Reporter:
            Ojas Potdar (Inactive)
            Votes:
            14 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: