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

Getting Certitificate Error While installing the cf cli using azure Market Place #2990

Open
4 tasks done
psarangi550 opened this issue Jul 5, 2024 · 6 comments
Open
4 tasks done
Assignees

Comments

@psarangi550
Copy link

Please fill out the issue checklist below and provide ALL the requested information.

  • I reviewed open and closed github issues that may be related to my problem.
  • I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
Provide details on what you were trying to do (and why).

What happened
A clear and concise description of what happen.

Expected behavior
A clear and concise description of what you expected to happen.

Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

  1. Run cf
  2. Bind a service cf bind-service
  3. See error

Provide more context

  • platform and shell details ( e.g. Ubuntu 2204 Linux)
  • version of the CLI you are running :- (Any Version)
  • version of the CC API Release you are on

getting error as below:-

2024-07-05T07:09:53.2885546Z ##[section]Starting: Install cf cli
2024-07-05T07:09:53.2895482Z ==============================================================================
2024-07-05T07:09:53.2895650Z Task : Cloud Foundry CLI Install
2024-07-05T07:09:53.2897734Z Description : Install Cloud Foundry command line interface.
2024-07-05T07:09:53.2897864Z Version : 0.164.0
2024-07-05T07:09:53.2897946Z Author : Microsoft
2024-07-05T07:09:53.2898410Z Help :
2024-07-05T07:09:53.2898512Z ==============================================================================
2024-07-05T07:09:54.9889516Z Downloading: https://packages.cloudfoundry.org/stable?release=linux64-binary&version=8.4.0&source=azure-pipelines
2024-07-05T07:09:55.3074546Z ##[error]Error: Failed to download Cloud Foundry from location https://packages.cloudfoundry.org/stable?release=linux64-binary&version=8.4.0&source=azure-pipelines. Error Error: certificate has expired
2024-07-05T07:09:55.3157000Z ##[section]Finishing: Install cf cli

@moleske
Copy link
Member

moleske commented Jul 20, 2024

Is this recreatable without azure market place? I'm not seeing this downloading https://packages.cloudfoundry.org/stable?release=linux64-binary&version=8.4.0&source=azure-pipelines myself

@zbrewer01
Copy link

We are experiencing the same thing in our Azure release pipeline. Below is a simple yaml file to reproduce. As there been any resolution to this issue?

stages:

  • stage: build
    displayName: Test, build, and deploy
    dependsOn: []
    pool:
    vmImage: "ubuntu-latest"
    jobs:
    • job:
      displayName: Build & deploy
      steps:
      • task: ms-vsts.cloud-foundry-build-extension.cloud-foundry-cli-install-task.CloudFoundryCLIInstall@0
        displayName: 'Install Cloud Foundry CLI 8.7.4'
        inputs:
        cfVersion: 8.7.4

@moleske
Copy link
Member

moleske commented Aug 9, 2024

I don't think we have any azure pipelines to test this in. That's why I was asking if there was a reproduction without azure pipelines or marketplace, just downloading the cf cli. If there's an issue with azure I'm not sure we can help with that

@joaopapereira
Copy link
Contributor

We also did had some networking and cert issues around those dates. Is this still happening? or was it temporary?

@advdk
Copy link

advdk commented Aug 28, 2024

We are also experiencing this issue. Have anyone been able to find the root cause or a reliable workaround.

Instead of using the cf install task from ms, I have opted to use bash and it works like a charm.

@a-b a-b self-assigned this Sep 6, 2024
@a-b
Copy link
Member

a-b commented Sep 6, 2024

Has the issue been resolved for everyone, or is it still ongoing? Also, @advdk, please share the reproduction steps for your case. Thank you!

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

6 participants