manjaro / pamac

Graphical Package Manager for Manjaro Linux with Alpm, AUR, Appstream, Flatpak and Snap support
GNU General Public License v3.0
235 stars 42 forks source link

Can't search for aur packages on corporate proxy with self signed ssl certificates #370

Open dlip opened 6 years ago

dlip commented 6 years ago

Just done a fresh install of manjaro xfce 17.0.6 and pamac 6.2.1-1 with yaourt 1.9-1. I can enable the aur option but when I try to search and select the AUR tab its always empty. Is there some way to get an error log?

One possibility is I'm using a corporate proxy, but yaourt install things fine from the command line.

philmmanjaro commented 6 years ago

pamac has it's own AUR engine, therefore your corporate proxy might be a reason it doesn't work. Did you test the same on a public or private network?

dlip commented 6 years ago

Yes its something to do with the corporate proxy, pamac is probably not using the company ca-certs since they decrypt ssl traffic. How to debug?

guinux commented 6 years ago

Pamac uses "http_proxy" and "https_proxy" environment variables. Are they defined ?

dlip commented 6 years ago

Yes I have them set in /etc/profile.d/proxy.sh and all other apps work. That's why I suspect the ssl certificate.

On 23 Nov. 2017 7:10 pm, "guinux" notifications@github.com wrote:

Pamac uses "http_proxy" and "https_proxy" environment variables. Are they defined ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/manjaro/pamac/issues/370#issuecomment-346552158, or mute the thread https://github.com/notifications/unsubscribe-auth/AARStJzRGubj7g0iH6CZRYLbstOPRyl6ks5s5ShegaJpZM4Qm5DI .

dlip commented 6 years ago

Note: I have installed the certificate and can see it appears in /etc/ssl/certs/ca-certificates.crt and it works with curl

lorenzosu commented 6 years ago

Hi, I face some issues with pamac behind a company proxy even with http_proxy and https_proxy environment variables set. Most operations work but upgrade and AUR not. Some details below.

What works when running pamac-manager after setting the correct variables and making sure in the sudoers file these are also passed to sudo:

What doesn't work:

Why it would be nice to have the option for application-specific proxy configuration:

My two cents. Lorenzo.