# 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](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-agent/pivotal-cloud-foundry-pcf-support "mention") (Java)
* [nodejs-javascript-heap-out-of-memory](https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/node-javascript/nodejs-javascript-heap-out-of-memory "mention")
* [testing-frameworks-integration](https://docs.sealights.io/knowledgebase/setup-and-configuration/integrations/testing-frameworks-integration "mention")
* [installing-the-coverage-listener-as-a-jvm-java-agent](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/java-agent/default-usage-cli/installing-the-coverage-listener-as-a-jvm-java-agent "mention") (Java)
* [cd-agent-for-java-application](https://docs.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/cd-agent/cd-agent-for-java-application "mention")
