-
ALM used GitHub
-
CI system used - localhost and wercker
-
Scanner command used when applicable (private details masked)
$ curl -i -u 4364xxxxxx: https://sonarcloud.io/api/ce/task?id=AXJlv7Evb4VcGeMaMYcz
token is taken from https://sonarcloud.io/account/security/ -
Languages of the repository - java
-
Only if the SonarCloud project is public, the URL - https://sonarcloud.io/dashboard?id=org.checkstyle%3Acheckstyle
-
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
$ curl -i -u 4364xxxxxx: https://sonarcloud.io/api/ce/task?id=AXJlv7Evb4VcGeMaMYcz
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
-
Steps to reproduce
curl -i -u 4364xxxxxx: https://sonarcloud.io/api/ce/task?id=AXJlv7Evb4VcGeMaMYcz
More details - https://github.com/checkstyle/checkstyle/issues/8279 -
Potential workaround
ignore certificate bycurl -k ....
.