dosubot[bot] commented on issue #7928: URL: https://github.com/apache/incubator-devlake/issues/7928#issuecomment-2305931866
<!-- Answer --> To resolve the "x509: cannot validate certificate for X.X.X.X(ip) because it doesn't contain any IP SANs" error when deploying DevLake with SSL, you can add your root CA to the `devlake` container. Here is an example of how to do this using `docker-compose`: ```yaml devlake: image: apache/devlake:v... ... volumes: ... - /path/to/your/rootCA.crt:/usr/local/share/ca-certificates/rootCA.crt command: [ "sh", "-c", "update-ca-certificates; lake" ] ... ``` This approach involves mounting your `rootCA.crt` into the `devlake` container and adding a `command` node to install the mounted certificate. Additionally, if you encounter a "Test Connection" error, you can set the environment variable `IN_SECURE_SKIP_VERIFY=true` for the `devlake` container to bypass certificate verification. Note that "GitExtractor" may fail to clone the repository due to certificate verification, as neither gogit nor git2go supports insecure HTTPS <sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Troubleshooting/Configuration.md)</sup><sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.19/Troubleshooting/Configuration.md)</sup><sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.15/Troubleshooting/Configuration.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.16/Troubleshooting/Conf iguration.md)</sup><sup>[[5]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.18/Troubleshooting/Configuration.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org