Coder Social home page Coder Social logo

Comments (4)

crazy-max avatar crazy-max commented on August 25, 2024

Error response from daemon: Get "https://registry.***.io/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority

This means your Docker client does not trust the self-signed certificate of registry.akaiv.io. You need to put the certs on the host of the docker client (GitHub Runner). More info: https://docs.docker.com/engine/security/certificates/

from login-action.

0n1dev avatar 0n1dev commented on August 25, 2024

@crazy-max

My certificate is a certificate signed by a CA. I have obtained a GoGetSSL Wildcard SSL certificate.

from login-action.

t1 avatar t1 commented on August 25, 2024

@0n1dev : you may have a valid certificate, but it looks your local docker doesn't recognise the CA to be valid.

from login-action.

SowMou avatar SowMou commented on August 25, 2024

I have the same problem

using docker/setup-buildx-action@v3 in my github actions workflow.
docker/login-action@v3 cannot connect to my private docker registry.

The error message is :
Logging into https://xx.yy.zz.tt:5003/repository/my-private-registry/...
Error response from daemon: Get "https://xx.yy.zz.tt:5003/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority.

will there be a way to inject our certificate into the docker root ca like java ?

      - name: Setup JDK 17
        id: java
        uses: actions/setup-java@v3
        with:
          java-version: 17
          distribution: temurin
          cache: maven
      - name: Execute a keytool import function
        run: sudo keytool --importcert -noprompt -trustcacerts -file nexus.crt -alias jetty  -keystore ${{ steps.java.outputs.path }}/lib/security/cacerts -storepass ${{ secrets.KEYSTORE_PASS }}
     

from login-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.