proxyman-windows-linux icon indicating copy to clipboard operation
proxyman-windows-linux copied to clipboard

[BUG] Error installing certificate on Linux

Open seidnerj opened this issue 11 months ago • 4 comments

This fails with the following error:

Error installing certificate:  No polkit authentication agent found.
Error occurred in handler for 'CERTIFICATE_SERVICE_INSTALL_CERTIFICATE_AUTOMATICALLY': Error: No polkit authentication agent found.
    at Object.throw (/tmp/.mount_ProxymPqXNXx/resources/app.asar/dist/main/webpack:/proxyman/src/main/services/certificate-service.ts:79:17)
    at Generator.throw (<anonymous>)
    at o (/tmp/.mount_ProxymPqXNXx/resources/app.asar/dist/main/webpack:/proxyman/src/main/services/certificate-service.ts:13:24)

Screenshot: Screenshot 2024-03-18 at 21 21 03

Log file: install_certificate_error.log

Also, when "Open Document" in the error dialog box one is referred to "https://docs.proxyman.io/proxyman-windows/install-certificate", i.e. instructions to manually install a certificate on Windows, rather than on Linux. Unfortunately I didn't find an equivalent version for Linux. I even tried guessing a url, i.e. "https://docs.proxyman.io/proxyman-linux/install-certificate" but this doesn't seem to exist.

seidnerj avatar Mar 18 '24 19:03 seidnerj

Hi @seidnerj what Linux distro (and version) you're using?

Currently, Proxyman Linux works well with the Ubuntu (20 or 22). For others, it depends

NghiaTranUIT avatar Mar 19 '24 01:03 NghiaTranUIT

@NghiaTranUIT, I am using Ubuntu 22 running on Azure and connecting via X11: Linux <HOSTNAME> 6.5.0-1016-azure #16~22.04.1-Ubuntu SMP Fri Feb 16 15:42:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

It would be great if you could at least tell me how to generate/install a certificate manually on Linux in the meanwhile. I also couldn't find the "Auto Start Recording Traffic at Launch" feature in he UI, could I edit config.json manually and switch this off?

seidnerj avatar Mar 19 '24 05:03 seidnerj

@seidnerj You can turn this off and the application will not record the traffic at launch. This is in the Preferences dialog, click Ctrl+, or go to Proxyman -> Preferences (at the top left) to open this dialog.

image

kics223w1 avatar Mar 19 '24 11:03 kics223w1

@seidnerj You can turn this off and the application will not record the traffic at launch. This is in the Preferences dialog, click Ctrl+, or go to Proxyman -> Preferences (at the top left) to open this dialog.

image

That's the the override for the proxy settings, not the start recording...

seidnerj avatar Mar 19 '24 13:03 seidnerj

Having same issue. Is there any update on this one?

runetech0 avatar Oct 09 '24 21:10 runetech0

@runetech0 What Linux distro you're using?

I will add a Manual Tab to help you manually install the certificate your Linux Trust Store

NghiaTranUIT avatar Oct 10 '24 01:10 NghiaTranUIT

@runetech0 can you install lxpolkit to your system?

I tested on Ubuntu 22 and it's already installed in the system. Not sure why you don't have it.

NghiaTranUIT avatar Oct 10 '24 01:10 NghiaTranUIT

@runetech0 What Linux distro you're using?

I will add a Manual Tab to help you manually install the certificate your Linux Trust Store

I'm using Ubuntu 24 with i3wm. I have already tried installing lxpolkit but no luck.

runetech0 avatar Oct 10 '24 07:10 runetech0