# ELO Sync crashes on start with Kestrel exceptions

If ELO Sync crashes on start with Kestrel exceptions, this typically indicates that either the certificate configuration is invalid, e.g. the password is wrong, the path does not exist or is wrong, or the certificate itself is invalid for multiple reasons, e.g. it is expired or the CA is not trusted.

# Solution

Make sure that the 'Kestrel' section in the appsettings.json file is completed:

{
    "Kestrel": {
        "Endpoints": {
            "HttpsInlineCertFile": {
                "Url": "https://elosyncurl:9093",
                "Certificate": {
                    "Path": "C:\\Absolute\\Path\\To\\certificate.pfx",
                    "Password": "password"
                }
            }
        }
    },
}
Last updated: May 16, 2025 at 9:13 AM