Problems Configuring HTTPS
indiwa
Posts: 4 Bronze 1
We followed the instructions at:
Regardless whether using a PFX file with a password or a certificate from the localmachine\my store, after restarting the SQL Monitor Web Service, the service immediately stops again.
The certificate is a valid Lets-Encrypt certificate, we tried a wildcard certificate and one for a specific host name.
The logs in:
C:\ProgramData\Red Gate\Logs\SQL Monitor\Website*
don't show any errors
After changing Warning to Debug in:
C:\Program Files\Red Gate\SQL Monitor\Web\RedGate.SqlMonitor.Service.Web.logging.jsonc
C:\Program Files\Red Gate\SQL Monitor\Web\RedGate.SqlMonitor.UI.Website.logging.jsonc
C:\Program Files\Red Gate\SQL Monitor\Web\RedGate.SqlMonitor.UI.Website.logging.jsonc
I get more information, but nothing really helpful.
Also adding the new thumbprint to:
C:\ProgramData\Red Gate\SQL Monitor\RedGate.SqlMonitor.AuthorizedClients.config
did not help
What else can we try here?
BTW The PowerShell script on the documentation page linked below does not work for non-English servers.
Tagged:
Answers
<configuration>
<kestrel>
<endpoints>
<http>
<url>http://*:80</url>
</http>
<https>
<url>https://*:443</url>
<certificate>
<subject>*.name.com</subject>
<store>My</store>
<location>LocalMachine</location>
<allowInvalid>false</allowInvalid>
</certificate>
</https>
</endpoints>
</kestrel>
</configuration>