mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #1064] Question: Could Proxyman help me override an Error: unable to get local issuer certificate problem I'm having? #1060
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1060
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jamischarles on GitHub (Nov 17, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1064
Originally assigned to: @NghiaTranUIT on GitHub.
Hey folks!
First off, I LOVE Proxyman. I've been using it daily for the last several weeks at work (Frontend Web Dev).
It's been 100x easier to use than Charles Proxy (I started looking because it became unusable for me).
This is not a bug I'm reporting.
When I use my work computer I frequently get
Error: unable to get local issuer certificatewhen I'm runningnpm installfor my node apps. I'm fairly certain this is because of my company's security setup/firewall (zscaler maybe) etc...I can usually work around this. Right now I'm trying to use the Loom Mac app, and the logs indicate I can't upload because of the error above (It's an electron app). It seems to be interfering with the upload to s3. I've considered setting up a node proxy somewhere then using proxyman to shuttle the requests through that proxy, but I'm unsure if that will actually help.
My question is
Is there any way I could override something locally using Proxyman to fix this issue?
Keep up the great work!
@NghiaTranUIT commented on GitHub (Nov 17, 2021):
Thanks for your kind word @jamischarles.
By default, traffic from npm (which is run on Terminal or VSCode) will not go through the Proxyman Proxy server by default.
You can test it by:
npm installfrom TerminalTherefore, I don't think your issue is related to Proxyman.
To investigate, can you help me answer some questions:
npm install. Have you encountered the errorError: unable to get local issuer certificate🤔or
to see if it fixes your issue 👍
Ref: https://stackoverflow.com/questions/36494336/npm-install-error-unable-to-get-local-issuer-certificate
@jamischarles commented on GitHub (Nov 17, 2021):
@NghiaTranUIT Thank you for the quick reply.
Sorry if this wasn't clear.
Let me explain a bit more:
I am curious (and hoping):
I have little expertise in certs, but I imagine you know a lot know since Proxyman does some work with certs.
Does that make sense?
Is this something that Proxyman could help with?
Thanks!
@jamischarles commented on GitHub (Nov 17, 2021):
PS: from Loom support:
@jamischarles commented on GitHub (Nov 17, 2021):
I assume they are doing something very similar to proxyman (so they can inspect traffic). Does that sound right?
@NghiaTranUIT commented on GitHub (Nov 17, 2021):
Can you share with me the link of the Loom app? I goggled and find this one https://www.electronjs.org/apps/loom (which is a sharing screen/camera)
@jamischarles commented on GitHub (Nov 17, 2021):
https://www.loom.com
You can find it here ^
On Tue, Nov 16, 2021 at 6:46 PM Nghia Tran @.***> wrote:
@jamischarles commented on GitHub (Nov 17, 2021):
Happy to send you the Loom Debug logs, or the proxyman logs I recorded (less useful)
This is from the Loom debug logs

@NghiaTranUIT commented on GitHub (Nov 17, 2021):
Thanks for your log.
Sorry, but I don't think that Proxyman can help you to fix the error
Error: unable to get local issuer certificate. It seems the root of the problem is from the Loom app itself.Maybe you should ask for help from Loom's support team. Maybe they know how to fix it.
@jamischarles commented on GitHub (Nov 17, 2021):
Ok. Thanks for taking a look!
I'm working with the Loom folks. They can't do anything either. I need to resolve the cert issue for my machine I think.
Thanks!
@NghiaTranUIT commented on GitHub (Nov 17, 2021):
I suppose that you should try on a different Mac machine to see if you can reproduce the bug.
My educated guess is that NodeJS, which is bundled from the Loop app, could not access your System CA Certificate (Maybe your root CA certificates are corrupted or modified by your security policy)
@Geczy commented on GitHub (Apr 25, 2023):
@NghiaTranUIT re https://github.com/ProxymanApp/Proxyman/issues/947 and this issue
you can force electron apps to use a proxy, see http toolkit: https://github.com/httptoolkit/httptoolkit-server/blob/main/src/interceptors/electron.ts#L53
its working perfectly in that app, but would love to see it work on proxymanapp. can you look into it?
here's the file they inject into an electron app. they do it by enabling node debug mode then pausing and injecting this on start
https://github.com/httptoolkit/httptoolkit-server/blob/main/overrides/js/prepend-electron.js
@NghiaTranUIT commented on GitHub (Apr 25, 2023):
@Geczy can you try this build: https://github.com/ProxymanApp/Proxyman/issues/236#issuecomment-1518572201
Start the Terminal from the Automatic Setup -> Run your electron app here. Not sure if it works out of the box, or I have to support Electron app like httptoolkit.