# Weblogic: Failed Hostname Verification

### Problem <a href="#problem" id="problem"></a>

When using the SeaLights test listener as a javaagent in Weblogic, it fails to load with a 'failed hostname verification check' certificate issue.

{% code overflow="wrap" lineNumbers="true" %}

```
... <Certificate chain received from hostname - xxx.xxx.xxx.xxx --> app.sealights.co failed hostname verification check. Certificate contained *.sealights.co but check expected app.sealights.co>
```

{% endcode %}

### Solution <a href="#solution" id="solution"></a>

As the SeaLights certificate is a general certificate for `*.sealights.co` servers, if Weblogic is set up to perform a hostname verification then this will fail.\
Therefore you should turn off this verification in Weblogic

You can turn off the hostname verification by going to:

* The Administration Console
* Click on **Lock & Edit**
* Expand **Environment** and select **Servers**
* Select the server
* Go to **Configuration**→**SSL**→**Advanced**
* Under **Hostname Verification** select **none**

### Related articles <a href="#related-articles" id="related-articles"></a>

* [Pivotal Cloud Foundry (PCF) Support](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-agent/pivotal-cloud-foundry-pcf-support.md) (Java)
* [NodeJS - JavaScript heap out of memory](/knowledgebase/setup-and-configuration/troubleshooting-faq/node-javascript/nodejs-javascript-heap-out-of-memory.md)
* [Testing Frameworks Integration](/knowledgebase/setup-and-configuration/integrations/testing-frameworks-integration.md)
* [Installing the Coverage Listener as a JVM Java Agent](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-agent/default-usage-cli/installing-the-coverage-listener-as-a-jvm-java-agent.md) (Java)
* [CD Agent for Java Application](/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/cd-agent/cd-agent-for-java-application.md)


---

# 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.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/java/weblogic-failed-hostname-verification.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.
