---
title: "Web Dashboard - SSL Certificates not working for Web Dashboard"
description: "SSL certificates may fail in Web Dashboard due to keystore format, password, or port conflicts. Solutions include using PKCS12 format, avoiding unsupported password characters, and configuring different secure and insecure ports."
url: "https://docs.itrsgroup.com/docs/faq/geneos/4419131277457-geneos-web-dashboard-ssl-certificates-not-working-for-web-dashboard/index.html"
---
## Related topics

Web Dashboard, SSL certificate, Enabling SSL

### Problem

I cannot get SSL to work with Web Dashbaord

### Possible causes

- Root Cause 1 - Getting `keytool error: java.io.IOException: Invalid keystore format` or `keytool error: java.io.IOException: DerInputStream.getLength(): lengthTag=XX, too big`.
- Root Cause 2 - Getting `keytool error: java.io.IOException: keystore password was incorrect`
- Root Cause 3 - Getting error `SSLConnector:connect: SSL i/o error:[5] ret=-1 errno=0`

### Possible solutions

- Solution to Root Cause 1 - Check that the certificate is PKCS12. To check the format of the original security file, you can use [KeyStore Explorer](https://keystore-explorer.org/) to open the file. The left bottom bar will show the actual format.

If the certificate is not in PKCS12 format, the certificate must be converted to PKCS12 format using our utilities.

Please follow the exact steps stated in the section [Adding a Certificate and Private Key to the keystore](https://docs.itrsgroup.com/docs/geneos/current/visualization/web-dashboard/index.html#Heading-adding-a-certificate-and-private-key-to-the-keystore) and make sure your `security.properties` files is configured to be using PKCS12:

![Checj certificate format](https://docscdn.itrsgroup.com/faq/images/geneos/check-keystoretype.png)

- Solution to Root Cause 2 - Your password or passphrase in the keystore/certificate might contain unsupported characters as mentioned in the [How to solve "keytool error: java.io.IOException: keystore password was incorrect" due to unsupported characters](https://docs.itrsgroup.com/docs/faq/geneos/4419133004561-geneos-web-dashboard-how-to-solve-keytool-error-java-io-ioexception-keystore-password-was-incorrect-due-to-unsupported-characters/index.html) article.

- Solution to Root Cause 3 - This is due to trying to run two instances (unsecure and secure) trying to use the same port number.Your secure port is defined in your security.properties files. Your insecure is defined in the `geneosws` script. Your insecure and secure ports must be configured in different ports.

If you want to disable insecure connections, comment out that setting in `geneosws`.

For more information on secure and insecure communications between Geneos components, see [SSL](https://docs.itrsgroup.com/docs/geneos/current/visualization/web-dashboard/index.html#configure-ssl-certificates) documentation.


