You might receive the following error for some filters after forcing HTTPS on your FogBugz installation.
Unexpected Search Response
This article provides information on the root cause of this issue and the resolution for it.
The reason for this error is using a self-signed certificate or a Certificate Authority that is not automatically trusted by the Java Trust Store.
To resolve this issue, you need to import your certificate into the Java Trust Store by following the steps below.
Exporting the SSL Certificate from IIS
- Go to your IIS Manager.
- Collapse Server > Sites.
- Right-click on FB GEN ALL and select Edit Bindings.
- Under Site Bindings, select the domain that is using port 443 and click Edit.
- Click View.
- Select the Details tab and click on the Copy to File button.
- Under Export File Format, select Base-64 encoded X.509 (.CER).
IMPORTANT: Do not export the private key.
Importing the Certificate to the Java Trust Store
- Run Windows PowerShell as Administrator.
- Run the following command.
keytool -import -v -alias <friendly name> -keystore $Env:JAVA_HOME\jre\lib\security\cacerts -file cert.cer
- Enter the default password for the Trust Store.
The default password for the Trust Store is
- When the system asks to trust the key, type
YESand hit Enter for the Java Trust Store to accept the certificate.
- Restart the FogBugz ElasticSearch service.
- Restart Internet Services.
Elastic Search should be accessible via the following URL: