extensure123 opened a new issue, #7287:
URL: https://github.com/apache/incubator-devlake/issues/7287

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Tring to add Jira Cloud connection from Config UI but the test connection 
fails with below error
   `Get "https://<mydomain>.atlassian.net/rest/api/2/serverInfo": tls: failed 
to verify certificate: x509: certificate signed by unknown authority Wraps: (4) 
x509: certificate signed by unknown authority Error types: (1) 
*hintdetail.withDetail (2) *url.Error (3) *tls.CertificateVerificationError (4) 
x509.UnknownAuthorityError`
   
   
   ### What do you expect to happen
   
   Jira connection status should reflect "Connected"
   
   ### How to reproduce
   
   1) Spin up the devlake using docker-compose on an on-prem Ubuntu 22x VM
   2) Add the JIRA cloud connection from Config UI
   3) Provide the required details and API key
   4) Test the connection
   
   ### Anything else
   
   The following in .env file is left blank.
   IN_SECURE_SKIP_VERIFY=
   
   I'm able to setup connection and test them successfully for my GitHub Cloud 
and local Jenkins connection without any issue but seems with Jira there is 
some SSL or cert issue.
   
   As part of troubleshooting, I tested the **below curl command from the VM 
and it does work and passes**
   `curl -v https://xxx.atlassian.net --user xxx@xxx:<my API key>`
   However when I log in the **apache-devlake-config-ui-1** **container** or 
the **apache-devlake-devlake-1** **container** to test the **above curl command 
it fails**.
   
   High level workaround is to somehow move the certs on my local VM to the 
devlake containers to make things work but I cannot manually add these certs in 
the container and then update certs command and not sure how to deploy these 
certs to the container using docker-compose
   
   
   ### Version
   
   v1.0.0-beta1
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to