rypox apps

Certificates and self-signed servers

Story: As the operator of my own server with a self-signed certificate I want to review the certificate and confirm it deliberately, so that I do not trust blindly and can still sync.

Why this chapter: Own servers often have no certificate from a public authority. DAVsky only connects securely and therefore asks you once whether you trust this certificate.

Confirm a self-signed certificate

During setup DAVsky reports: “This server's certificate is not generally trusted.” That is normal for self-hosted servers.

  1. Tap “Review certificate”.
  2. Compare the SHA-256 fingerprint with the one the server operator gave you. Only this independent comparison tells a genuine self-signed certificate from a forged one.
  3. Tap “Trust” if the fingerprint matches. “Reject” cancels; “Never” rejects the certificate permanently.
Screen “Review certificate” with server, fingerprint on two lines, validity date and the buttons “Trust” and “Reject”

If the certificate of an already trusted server changes, DAVsky warns more clearly (“The certificate has changed”). That can be a harmless renewal, but it can also mean someone is intercepting the connection. Only confirm if you can explain the change, for example because the operator announced it.

Manage trusted certificates

The menu in the account overview leads to “Certificates”. The list shows every trusted certificate with “Trusted since” and “Valid until”; notes such as “expires soon” or “expired” appear next to them. Tap an entry for all details. “Remove” withdraws trust: at the next connection attempt DAVsky asks again.

List of trusted certificates with two servers, trust date, validity and the note “expires soon” on the second entry

If you rejected a certificate and now want to set it up after all, remove the rejection here – otherwise DAVsky no longer asks.

Client certificates

If a server requires a client certificate, DAVsky reports “This server requires a client certificate.” Then choose a certificate installed on the device. If none is installed yet, set it up in Android's settings first. If the server rejects the certificate, choose “Choose a different certificate”.