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

Certificate error when installing Compose #9440

Open
josealbertocoronado opened this issue Oct 17, 2024 · 2 comments
Open

Certificate error when installing Compose #9440

josealbertocoronado opened this issue Oct 17, 2024 · 2 comments
Labels

Comments

@josealbertocoronado
Copy link

Bug description

Hi.
Apologies if this is a duplicate, after some search I can't find any entry with the same issue.

I'm getting an error when installing Compose due to my company certificate
The exact error is "HttpError: Unable to get local issuer certificate".

This is where I get it:
Image

Please note I've already installed the certificate inside the podman machine following these steps: https://podman-desktop.io/docs/podman/adding-certificates-to-a-podman-machine. Which works. I'm able to pull images.

So my issue is purely when installing Compose in Podman Desktop.
Thanks in advance.

Operating system

Windows 11

Installation Method

Installer from website/GitHub releases

Version

1.13.0

Steps to reproduce

  1. Install Podman Desktop (clean laptop, nothing else installed related to Docker)
  2. Create a podman machine
  3. Install certificate inside podman machine. That allows to pull images.
  4. Try to run Compose. It throws this error:
    * exec: "docker-compose": executable file not found in %PATH%
    * exec: "podman-compose": executable file not found in %PATH%
  5. Try to install Compose via Podman Desktop.

Relevant log output

No response

Additional context

No response

@josealbertocoronado josealbertocoronado added the kind/bug 🐞 Something isn't working label Oct 17, 2024
@benoitf
Copy link
Collaborator

benoitf commented Oct 17, 2024

hello @josealbertocoronado do you see some errors in the logs

could you click on the light bulb in the status bar then the logs tab

and when you try to install compose (to see the call that is missing the certificate)

also you confirm that the certificate is installed on your local computer (not only inside the machine)

@josealbertocoronado
Copy link
Author

Hi @benoitf , thanks for answering.

Yeah, the certificate is installed in my machine too.
Checking logs I can't see anything related to it. I've just run it again and this is what I see in logs (nothing related apparently):
Image

Tbh, I think it can be simply my company is blocking the http call to the compose url, however I would need to find out what that url is so I can ask them to whitelist it. Any idea how I can find it?
Is it maybe this url? https://github.com/docker/compose/releases.
That's where I'm pointed to when I follow instructions to install compose manually from this doc (at the very bottom): https://podman-desktop.io/docs/compose/setting-up-compose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants