HaveIBeenPwned / PwnedPasswordsDownloader

A tool to download all Pwned Passwords hash ranges and save them offline so they can be used without a dependency on the k-anonymity API
BSD 3-Clause "New" or "Revised" License
629 stars 49 forks source link

Certificate issue probably from Proxy #44

Closed BlackJebus closed 1 year ago

BlackJebus commented 1 year ago

Hi Team and sorry for a really dumb question,

I'm sure this is My problem, not a script problem but I thought I would ask non the less.

a Linux machine

We have a proxy in place that performs ssl inspection with its own certificate/root I have installed the certificates in the Linux machine.

I can browse the web normally and use curl -l -v google.com and do not get certificate issue.

I get an error when I try to run the downloader.

HttpRequestException: The SSL connection could not be established, see inner exception.

 AuthenticationException: The remote certificate is invalid because of errors in the certificate   

 chain: UntrustedRoot

I assume that I need to install the certificate somewhere for dotnet I just do not know where.

troyhunt commented 1 year ago

There is absolutely nothing wrong the Pwned Passwords certificate, this is an issue on your end.