Scan fails: server has client authentication enabled
hi when running the clair-scanner I am encountering some issue in how our docker service is setup. Simply put, it is configured with client certificate authentication and when trying to scan a imge I'm getting:
user: ./clair-scanner_linux_386 --clair="http://10.5.74.146:6060" --ip="10.5.74.146" clair 2018/11/15 15:15:59 [INFO] ▶ Start clair-scanner 2018/11/15 15:15:59 [CRIT] ▶ Could not save Docker image [clair]: The server probably has client authentication (--tlsverify) enabled. Please check your TLS client certification settings: Get https://127.0.0.1:2376/v1.25/images/get?names=clair: remote error: tls: bad certificate
I tried to change the clair-local-scanner to run with -insecure-tls but this did not slve anything.
Anyone would know how to address this?
Tx