---
title: "Computing service – enabling HTTPS"
description: "The computing service recalculates attendance. If it runs on a different machine from the application server, it exchanges data with it over the network—and then it is advisable to encrypt the connection using HTTPS. This guide describes the manual setup for version 5.3."
url: https://navody.aktion.cz/en/articles/134-computing-service-enabling-https
collection: "Configurations manuls and FAQ"
updated: 2026-11-12
language: en
alternates: [cs]
---

# Computing service – enabling HTTPS

The computing service recalculates attendance. If it runs on a different machine from the application server, it exchanges data with it over the network—and then it is advisable to encrypt the connection using HTTPS. This guide describes the manual setup for version 5.3.

The computing service recalculates attendance. If it runs on **a different machine than the application server**, it sends data to it over the network – and in that case, it is advisable to encrypt the connection using HTTPS. This guide describes the manual setup for version 5.3.

**Administrator tip:** The installer does not configure HTTPS automatically, but it preserves manual configuration during updates.

## When You Need HTTPS

<table data-id="156e7662-a4ef-48fa-bb62-5f23aaf24f17" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="418b779d-3c66-46fb-a156-843365a61f6b">Installation</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="8a38f60a-e543-4eac-a59a-c83cb956b186">How the service listens</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="e0682885-bcb0-43e2-85b1-a40c62be5634">HTTPS</p></th></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="64826aa2-c3ad-4db7-ac74-c8a1b98a30aa">Service on the same machine as the application server (default)</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b608eaf8-9155-4f80-9647-214124d96378"><code>http://localhost:&lt;port&gt;</code> – not accessible from the network</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="924f0a18-226f-4d42-95ff-0d28685e7895">not required</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b0f7ccbc-1257-46b7-81e2-3e831529c367">Service on another machine (standalone installer component)</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="e04f94ea-9928-4041-9e19-c22e47258ed1"><code>http://*:&lt;port&gt;</code> + firewall exception</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="7b0290e7-7531-4fa0-b30d-c17843d978e5"><strong>recommended</strong></p></td></tr></tbody></table>

The application server sends the service a shared key with every request in the `X-Calculation-Key` header. **Without HTTPS, both the key and the request contents are transmitted over the network unencrypted.**

In version 5.3, only the application server calls the calculation service (eNext's server API goes through it). Therefore, the configuration only needs to be changed in two places: in the service and in the application server configuration.

## Before you begin

<table data-id="e2ca2118-82e4-4266-b59e-3c7fa09ab1aa" style="min-width: 50px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="4fd22a23-dc9b-446f-8f4c-5b4ad18de432">What</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="988d36eb-af17-4b12-8b75-4e99837d0ad7">Details</p></th></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="31f8a96b-f0f0-4876-8f2a-973a70f3d31f">Installation</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b7b7dc3d-f902-4ef2-94c0-ade97e2bb58e">Installation completed on two machines: first the application server with the service address, then the service on the second machine. Calculations over HTTP are now working.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="4323dc9e-8a80-465e-9569-46d3933f19f4">Certificate</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="7eb267cd-fe3a-4d86-89a6-a9d1220aee88">Issued to the service machine’s fully qualified domain name (FQDN), with a private key, and stored in the <code>LocalMachine\My</code> store on the service machine. The certificate authority that issued it must be trusted on the application server machine.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="1c474242-186e-4374-98cb-93380f4404d6">Port</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="bc653320-0157-4141-8a2e-a8dc7cc7c382">An available TCP port for HTTPS, for example <code>2224</code>. The installer does not know about it—if you have multiple instances on one machine, make sure the ports do not overlap.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="c1b66d3e-5ad5-4a6d-bf46-bf4b47195d64">Permissions</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="a5570525-733b-4d0b-adb4-e9837fa68cbd">Administrator on both machines.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="18d8303b-611c-4032-9afc-1b91abf78088">Downtime</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="14cdf0c7-4bf5-4a77-8597-d5a4b2205b58">Both services will restart; this takes a few minutes. Automatic calculations will wait in the database queue, while a manual calculation started during the restart will fail.</p></td></tr></tbody></table>

## Procedure at a glance

1.  **Machine running the service:** find the certificate name.
    
2.  **Machine running the service:** create the `appsettings.Production.json` file with the HTTPS settings.
    
3.  **Machine running the service:** firewall – no action is required; optionally, you can narrow the rule.
    
4.  **Machine running the application server:** change the service address to `https://…`.
    
5.  **Both machines:** restart the services and verify the connection.
    

## Step 1 – certificate (machine running the service)

In PowerShell, list the certificates in the computer store. You will need the name from the **Subject** field:

```javascript
Get-ChildItem Cert:\LocalMachine\My | Format-List Subject, NotAfter, Thumbprint, HasPrivateKey
```

Check that the certificate has not expired (`NotAfter`) and has a private key (`HasPrivateKey` = `True`). The service runs under the `LocalSystem` account, so it can access the key in the computer store without any additional configuration.

## Step 2 – Configure the service (machine running the service)

In the service folder `{instalace}\CalculationService`, create a file named `appsettings.Production.json` with the following contents (adjust the certificate name and ports as needed):

```javascript
{
  "Kestrel": {
    "Endpoints": {
      "Http": { "Url": "http://localhost:2223" },
      "Https": {
        "Url": "https://*:2224",
        "Certificate": {
          "Subject": "vypocet.firma.local",
          "Store": "My",
          "Location": "LocalMachine"
        }
      }
    }
  }
}
```

What each section means:

-   **Http** – redirects unencrypted access to this machine only (localhost). Do not omit this line: without it, the original address `http://*:<port>` from the installation would remain open to the network alongside HTTPS. Keep the port the same as during installation.
    
-   **Https.Url** – the asterisk means all network interfaces. If the machine has multiple network cards, it is better to specify a specific IP address.
    
-   **Certificate.Subject** – the name from the certificate in step 1. The certificate can also be loaded from a file (`Path` + `Password`), but the password would be readable in the file – so we recommend using the certificate store.
    
-   Caller authentication does not change – key-based pairing configured by the installer remains in place.
    

**Administrator tip:** Why this particular file? The installer rebuilds `appsettings.json` with every installation. It leaves `appsettings.Production.json` untouched, and its values take precedence – so the HTTPS configuration survives updates.

## Step 3 – firewall (machine running the service)

You do not need to configure anything new. The installer added the `AktionNEXT.CalculationService` rule for the service program, so it applies to all its ports. For a multiple installation, the rule name is followed by the instance name in parentheses.

Optionally, you can restrict the rule to the application server address only:

```javascript
Set-NetFirewallRule -DisplayName 'AktionNEXT.CalculationService' -RemoteAddress 10.0.0.15
```

## Step 4 – service address (machine with the application server)

In the file `{instalace}\AppServer\AppServer.exe.config`, change the service address to HTTPS:

```javascript
<add key="DochazkaVypocetSluzbaUrl" value="https://vypocet.firma.local:2224" />
```

-   The name in the address must match the certificate. An IP address will work only if it is included in the certificate.
    
-   Do not change the `DochazkaVypocetSluzbaKlic` and `DochazkaVypocetVlastnik` keys.
    
-   You can also enter the address in the installer wizard—the service address field on another computer also accepts `https://`.
    
-   The TLS protocol version is determined by the Windows settings. No further configuration is needed on the application server.
    

## Step 5 – restart both services

```javascript
Restart-Service 'AktionNEXT.CalculationService'   # machine with the service
Restart-Service 'AktionNext.AppServer'            # machine with the application server
```

For a multi-instance installation, both service names have the suffix `$INSTANCE`.

## Verification

Run the checks **from the machine with the application server** – this also verifies the network path and trust in the certificate.

```javascript
[Net.ServicePointManager]::SecurityProtocol = 'Tls12'   # only in Windows PowerShell 5.1

# 1) availability and valid certificate: 200 + header X-Calculation-Owner: Service
Invoke-WebRequest https://vypocet.firma.local:2224/health -UseBasicParsing |
    Select-Object StatusCode, Headers

# 2) the unencrypted port is no longer accessible from the network: TcpTestSucceeded = False
Test-NetConnection vypocet.firma.local -Port 2223
```

The connection is working correctly when:

1.  The first request returns `200` and the `X-Calculation-Owner` header. Any certificate error will show up here.
    
2.  The second test will **fail** – port `2223` is now listening locally only.
    
3.  In the application server log (`{instalace}\AppServer\AppServer.log`), after startup there is the line “Calculation service https://vypocet.firma.local:2224/ is ready.” This confirms both the encrypted connection and the key.
    
4.  In the service log (`CalculationService\logs\calculation-<datum>.log`), there is a line “Authentication: scheme ApiKey, caller authorization: …” with the caller `AppServer (calc-admin)`.
    
5.  Manually recalculating one person from the client completes without error – the entire process, including verification, succeeds.
    

## What happens during an update

<table data-id="15472f14-9c76-40ca-a91b-e848a09dd671" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="32c47da1-abbb-4764-8785-b6f13ccc7740">Where</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="b22b270a-cbf4-49d8-b59f-5c9428fdcc9c">What the installer does</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="07207e42-83db-4181-b574-b94d559cba2c">Consequence</p></th></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="ae64b8fc-84b9-470a-a78d-9c71f3878097"><code>appsettings.json</code> services</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b36db8ed-0878-4764-bbc7-dfd95b5fbb89">Rebuilds it (<code>http://*:&lt;port&gt;</code> and key).</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b310fb9f-14ac-4004-a36d-f8f153951095">That’s fine – <code>appsettings.Production.json</code> takes precedence.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="5e76802c-2d4e-4a0b-ab53-fca7c5e83593"><code>appsettings.Production.json</code></p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="8251bd47-e515-4a1c-b403-e9c192607764">Doesn’t touch it.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="e12651ea-1b02-424c-8950-bd38b9fecd2b">HTTPS remains.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="752785e5-e201-4ae7-91bc-9b561b72457c">Service address in the application server configuration</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="1d7c299a-38fb-4b99-819a-156c09cf00ae">Prefills it in the wizard and writes it back; the silent installation uses it.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="7f886059-3c98-4b53-883f-86014efb0c7a">Address <code>https://…</code> remains.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b8804d02-48bb-4c1d-85c0-6b0354e0c476">Key</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="d1f4d2ab-4b36-4ffe-9946-03d03bc74c4b">Writes it again from the database on both sides.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="581916c7-8260-4e34-9af0-981579cf7705">Unchanged.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="0eb10469-ce6f-4f57-8c59-46740c9545c9">Firewall rule</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="0c5a7983-5d21-47f4-a540-115c768de755">Deletes it and creates it again.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="960bfe29-599d-458e-bf6a-1258e749d638">The address restriction (step 3) needs to be <strong>repeated</strong>.</p></td></tr></tbody></table>

**Tip for administrators:** Repeat the checks in the Verification chapter after each update.

## Common issues

<table data-id="a247ad53-36a2-4e2f-9874-207d1bda16ce" style="min-width: 75px;"><colgroup><col style="min-width: 25px;"><col style="min-width: 25px;"><col style="min-width: 25px;"></colgroup><tbody><tr><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="dcb9ef17-795a-450f-b705-5a9604df4d08">Symptom</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="b2f832e8-89ed-4f2b-9cb0-b6fa83a26952">Cause</p></th><th colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top; background: rgb(243, 244, 246);"><p data-id="b980068e-da1d-46a3-8914-d3953cb8f128">Solution</p></th></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="41ba1cfd-7272-40d8-a47e-265ce3b76927">The service does not run after restarting; there is a certificate error in the service log or Windows Event Log.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="1bc83566-b06f-44aa-b7e3-62eea6d17b41">The certificate with the <code>Subject</code> was not found, has expired, or does not have a private key.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="e5b21084-96d4-4e8c-9dc7-c2ff078454ed">Repeat step 1 and correct the <code>Subject</code>.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="da34f188-6c0f-4cd7-8538-954b890a96cf">Trust error or certificate name mismatch.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="e6c3d02c-3212-4ed8-934a-f3ac62ac9e42">The address does not match the certificate, or the application server machine does not trust the issuing authority.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="d1a1a026-d5ac-4780-8e20-aad087382aea">Use the name from the certificate; import the authority into <code>LocalMachine\Root</code>.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="3cb66499-4f4e-4339-a3f1-ae5576eba6a7">“Calculation service … is not responding”</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="e38fc70e-5c94-4fee-bb1e-6abe362b6e25">Incorrect port in the address, firewall, or the service is not running.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="5b6a567f-3cf3-480a-918e-648406a3d32c"><code>Test-NetConnection</code> to the HTTPS port; check the service log.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="7f986683-af28-44ae-a665-9fe5737224a2">401 / 403 and a reference to <code>Calculation:Auth:Clients</code></p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="7d97dc4c-5468-4d28-a0cb-50cb1aebcd66">The keys on both sides have diverged (manual change to one of them).</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="a3a8c577-4a34-43b5-b252-13ad30cd641c">Make sure <code>DochazkaVypocetSluzbaKlic</code> matches the key in the service settings, or run the installer again.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="16301a3b-923d-4da4-ab5f-8250d1bf6764">503 during manual recalculation</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="bb69f3a3-f2cd-493c-b219-d6c5883dae75">Unrelated to HTTPS—the service does not own the calculation.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="ca25d2a9-5d93-44a7-945a-43fb24010c2a">Make sure <code>Calculation:Owner</code> in the service matches <code>DochazkaVypocetVlastnik</code> in the application server.</p></td></tr><tr><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="b3931580-9885-4b4b-a436-8ff4c9e34134">The connection stops working after the certificate is renewed.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="bd02a3de-df0b-49da-b7f2-fc23d91b4a19">The certificate is loaded when the service starts.</p></td><td colspan="1" rowspan="1" style="box-sizing: border-box; border: 1px solid rgb(229, 231, 235); padding: 6px 8px; text-align: left; vertical-align: top;"><p data-id="292d25c6-bccd-4214-a73a-43f9e2839452">Restart the service; include a restart in the certificate renewal procedure.</p></td></tr></tbody></table>

## Limitations

-   **The warning about unencrypted access is not displayed when installing from the installer.** The service startup check does not recognize an address with an asterisk (`http://*:<port>`). Therefore, do not rely on the log—the port test in the Verification chapter is what matters.
    
-   **The application server may not verify certificates.** Calendar synchronization with Exchange or Kerio and DataPro disables certificate checks for the entire application server. The connection is then encrypted, but the other party is not verified, and an invalid certificate will not be reported.
    
-   **Windows account authentication (Negotiate) will not survive an update.** The application server installer with the service on another machine writes the key during every installation, and the server will not authenticate using an account when a key is specified. Therefore, use a key + HTTPS for a service on another machine.
    
-   **The key is stored in readable form**—in the configuration of both sides and in the database. Manual encryption (`dpapi:`) is overwritten by the installer during the next installation. The service does not limit the number of attempts to sign in with the key.
    
-   **Starting with version 5.4**, eNext's server API will also call the service directly. If it runs on a different machine than the service, the same HTTPS requirement applies, and it must be added to the allowed callers in `appsettings.Production.json`.
