x509: certificate signed by unknown authority

  • Updated

Issue

You may experience communication issues with our SaaS servers when utilizing slim images with your application.

2021-05-05T20:47:36.364Z ERROR Error retrieving response {"progname": "Contrast Service", "err": "Put \https://app.contrastsecurity.com/Contrast/api/ng/servers/\: x509: certificate signed by unknown authority"

Cause

Slim images may not include any root certificates causing SSL handshake failures. 

Resolution

The following can be added to the Dockerfile to install these certs

RUN apk add ca-certificates

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request