Skip to content

Can't seem to get a self-signed cert fingerprint to be recognized #892

@ohmantics

Description

@ohmantics

Prerequisites

  • Tried the most recent nightly build
  • Checked if your issue is already reported.
  • Answered all the questions in this template (Or provide a working crystal ball).

What happened?

Using the Electron app, built locally, I pasted the SHA256 fingerprint of my self-signed server cert into the proper field in the Settings. (Not entirely clear how the fingerprint should be formatted. Does it have colons between bytes or not, etc.?)

I always get a verification error during STARTTLS.

Based on logging I did, options.ignoreCertErrors isn't being set anywhere, so we always raise an exception and bail out of the connection before upgrading completes.

What did you expect to happen?

I expected to be able to use the fingerprint feature to get around a self-signed cert not verifying.

Which Version

  • sieve dfeeac1 + local patches to debug via console logging in the Electron app
  • macOS 12.6.4
  • dovecot 2.3.20_1 in a FreeBSD 13.1 jail

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions