Python-Tls-Client
Python-Tls-Client copied to clipboard
Error: x509: certificate signed by unknown authority
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?
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