Python-Tls-Client icon indicating copy to clipboard operation
Python-Tls-Client copied to clipboard

Error: x509: certificate signed by unknown authority

Open jindameias opened this issue 1 year ago • 1 comments

I use the following code:

      session = tls_client.Session(
          client_identifier="chrome112",
          random_tls_extension_order=True
      )
      
      response = session.get(url="https://192.168.111.30:18444/something")

then raise tls_client.exceptions.TLSClientExeption: failed to do request: Get "https://192.168.111.30:18444/something": x509: certificate signed by unknown authority.

I just wanted to test it, so I made a certificate myself, which seemed to not respond properly. If I want to test normally, what should I do?

jindameias avatar Jun 09 '23 03:06 jindameias

I also encountered the same problem because I used Charles for packet interception and found that the installed Charles certificate had expired on my computer. You may need to check your certificate, it may be helpful for you

itzuimao avatar Jun 26 '24 15:06 itzuimao