# Resolving Errors

## Resolving "PKIX path building failed" and "unable to find valid certification path to requested target"

This error is most commonly experienced on Windows operating systems as a result of the default keystore installed with Java.&#x20;

### Export SSL certificate from browser

Open your browser and navigate to <https://app.threatrix.io> or your local Hybrid threatrix deployment server.

Follow the instructions below to export the SSL certificate from your browser:

#### **chrome**

&#x20;Click on site icon left to address in address bar, select "Certificate" -> "Details" -> "Export" and save in format "Der-encoded binary, single certificate, save as app.threatrix.io.crt".

#### **firefox**

Click on HTTPS certificate chain (the lock icon right next to URL address). Click "more info" > "security" > "show certificate" > "details" > "export..". Saver as app.threatrix.io.crt

#### edge

Click on site icon left to address in address bar, select "Connect is secure" -> "Show Certificate icon(top right)" -> "Details -> "Export" and save as app.threatrix.io.crt.

### Import SSL certificate into Java keystore as trusted certificate

Locate your Java cacerts file, which is installed with Java, typically under $JAVA\_HOME\lib\security\cacerts

If a password is required, the default password for java keystores is "chnageit".

use Java keytool to import it into your Java keystore

```
keytool -import -trustcacerts -alias threatrix -file app.threatrix.io.crt -keystore cacerts
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.threatrix.io/threat-agent/resolving-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
