Skipping cache - error checking storage: RequestError: send request failed

I got the following error during cache restore:

Skipping cache - error checking storage: RequestError: send request failed
caused by: Get https://circle-production-customer-artifacts.s3.amazonaws.com/?list-type=2&prefix=picard%2F5a5******29d660001ee25e9%2Fglobal%2Fcaches%2Fjars-_********: x509: failed to load system roots and no roots provided

Is it kind of a CircleCI bug?

One more step

Container ***/***
Job was canceled

Hello

Thank you for contacting CircleCI support.

We wanted to follow up on old discuss posts in case other people run into the same issues.

To resolve this issue you will need the add the following to your config.yml, this could also be included in your dockerfile.

  - run:
      command: sudo apt-get install -y ca-certificates