-
Notifications
You must be signed in to change notification settings - Fork 841
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 Issues behind Corporate Proxy? #907
Comments
In general stack (and the underlying tls library for Haskell) do respect system certificates. There are debugging instructions available for this at: https://github.com/vincenthz/hs-tls/#common-issues I have personal experience using stack in this use case, so (perhaps surprisingly) it is actually tested. |
Okay thanks - I'll have a look on Monday and see if I can get it working |
I seem to be running in to this issue here. It's fixed in the latest version of The temporary fix was to add the certificate to the Any idea how to bump the version appropriately? |
The certificate package is marked as deprecated in favor of x509. @vincenthz Can you let us know which version of which package we need to upgrade to in order to get this change? |
@snoyberg Since x509-system-1.6.0, the SystemRootCertificates and the @laurencer Do you know which keychains your certificate is in ? |
I can confirm that stack is currently using x509-system-1.6.0: https://www.stackage.org/lts-3.0/package/x509-system-1.6.0. Thanks @vincenthz |
@vincenthz - I believe the certificate was in |
Have you had a chance to check this? |
Yeah I'm fairly confident it was in |
I've just done this too and can confirm @laurencer's last comment: the cert was in |
Is this an issue that should be moved to the tls package, or is there something that Stack can do about this? |
I don't think there's anything Stack can do, short of supplying an extra list of CA maybe. I need to find time to see what's going on with the System keychain, unless someone beat me to it. |
OK, thanks Vincent. Closing as an upstream issue. |
I'm adding a tracking ticket for this: haskell-tls/hs-certificate#68 |
Any chance this will be fixed for non-root users? Other languages allow users to point to [global]
cert = /home/<user>/.pip/<cert>.pem
proxy = http://<proxy-address>:<port>/ |
Looking at the code, it should be possible by setting the |
I think that should work. |
When stack is pulling new packages - I'm getting the following error:
I'm assuming this is because I'm behind a corporate MITM proxy. Anyway to get it to accept my systems custom root CA?
The text was updated successfully, but these errors were encountered: