Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to get local issuer certificate for no reason #2105

Open
ze42 opened this issue Mar 3, 2025 · 1 comment
Open

unable to get local issuer certificate for no reason #2105

ze42 opened this issue Mar 3, 2025 · 1 comment

Comments

@ze42
Copy link

ze42 commented Mar 3, 2025

Context: I'm trying to clone a private repository containing some actions to launch further...

  • Cloning the main repository works fine:
      - name: Clone default repo
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          path: ./src
  • Cloning it again with a token works:
      - name: Clone default repo with token
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          repository: me/myrepo
          path: ./src2
          token: ${{ secrets.GT_TOKEN }}
  • Cloning an other repository fails (with unable to get local issuer certificate error message)
      - name: Clone action repo with token
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          repository: me/actions
          path: ./actions
          token: ${{ secrets.GT_TOKEN }}
  • The repo is still properly setup, and allows a git fetch to just work and do it job!
          cd "actions" &&
          git status &&
          git fetch

Some more context notes:

  • I am running an a private git repository, not on github.
  • It uses a private domain, with some local CA
  • All repository are on the same vhost, and the root CA is properly added, which explains why most commands works fine
  • Yes, a curl also work fine, and does not have any certificate issue
@gitkit13
Copy link

gitkit13 commented Mar 3, 2025

Context: I'm trying to clone a private repository containing some actions to launch further...

  • Cloning the main repository works fine:
      - name: Clone default repo
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          path: ./src
  • Cloning it again with a token works:
      - name: Clone default repo with token
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          repository: me/myrepo
          path: ./src2
          token: ${{ secrets.GT_TOKEN }}
  • Cloning an other repository fails (with unable to get local issuer certificate error message)
      - name: Clone action repo with token
        uses: "actions/checkout@v4"
        continue-on-error: true
        with:
          repository: me/actions
          path: ./actions
          token: ${{ secrets.GT_TOKEN }}
  • The repo is still properly setup, and allows a git fetch to just work and do it job!
          cd "actions" &&
          git status &&
          git fetch

Some more context notes:

  • I am running an a private git repository, not on github.
  • It uses a private domain, with some local CA
  • All repository are on the same vhost, and the root CA is properly added, which explains why most commands works fine
  • Yes, a curl also work fine, and does not have any certificate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants