The curl man page suggests the --cacert or --capath option.

https://www.man7.org/linux/man-pages/man1/curl.1.html

On Thu, 23 Feb 2023 at 20:00, Alexis Praga via Haskell-Cafe <haskell-cafe@haskell.org> wrote:
I do have such a certificate. Do you have any pointer on how to configure curl to use, especially on windows and for ghcup ?




------- Original Message -------
On Thursday, February 23rd, 2023 at 6:53 PM, Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:


>
>
> On Thu, Feb 23, 2023 at 12:50:40PM -0500, Brandon Allbery wrote:
>
> > You're all missing the possibility that the corporate gateway requires
> > a specific certificate so it can inspect traffic (anyone remember
> > https://arstechnica.com/information-technology/2015/02/lenovo-pcs-ship-with-man-in-the-middle-adware-that-breaks-https-connections/)?
>
>
> In which case, that certificate can be configured as trusted by curl,
> of course it that case it can't be provided by the ghcup team, and needs
> to obtained locally by the user.
>
> --
> Viktor.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.