On 16 June 2019 15:47 Marvin Gülker via dovecot < [email protected]> wrote:
Dear List,
I self-host my e-mail and run Dovecot since ever I do that. Dovecotversion is 2.3.4.1 (f79e8e7e4), running on Debian testing.
Now I am trying to configure Dovecot for client TLS certificates. I havea self-signed certificate whose private key resides on a smartcard(Yubikey, to be exact). I wanted Dovecot to accept that TLS clientcertificate instead of a password. So I searched and found this wikipage: < https://wiki2.dovecot.org/SSL/DovecotConfiguration#Client_certificate_verification.2Fauthentication>
But that Wiki page says:
The CA file should contain the certificate(s) followed by the matchingCRL(s). Note that the CRLs are required to exist.I have now messed three hours or so with OpenSSL to get a CRL generatedfor my self-signed certificate, but I can't get that to work (theproblem appearently being that OpenSSL doesn't play well with privatekeys on smartcards). It doesn't make sense anyway, why does one need aCRL for a self-signed certificate? If the self-signed certificate's keygets compromised, the CRL does not help at all.
So, here are my questions:
1. Is a CRL really a hard requirement?2. If not: can I just use the self-signed certificate of my private keyfor the ssl_ca setting?3. If yes: any idea how I can generate a CRL for my smartcard-boundself-signed certificate?
Marvin
--Blog: https://mg.guelker.eu
You will save yourself from world of hurt if you use a dummy ca to sign you smartcard cert. You can try without generating a CRL.
To generate crl you need a functional ca config.
--- Aki Tuomi
