* Viktor Dukhovni <[email protected]> [2014-05-08 02:09]:
> On Thu, May 08, 2014 at 01:14:09AM +0200, Sebastian Wiesinger wrote:
> 
> > I published TLS DANE Records for my mailserver and now I am wondering
> > if there is a way to verify that these records are okay/matching the
> > cert. Is there a tool/site where I can test this? I suppose it would
> > be possible with the right openssl s_client commands but I can't
> > figure them out. The records are published for mx.karotte.org if
> > someone wants to try.
> 
> Postfix 2.11 and 2.12 source tarballs include "posttls-finger"
> which will test DANE authentication.
> 
>     http://www.postfix.org/posttls-finger.1.html
> 
> Your domain's keys are not registered at the .org level.  You need
> to work with your registrar to publish the appropriate DS records.

Yes I know, sadly my domain registar doesn't support it right now. But
I've put the keys into the ISC DLV registry and my resolver is using
that. Looks good to me:

posttls-finger: using DANE RR: _25._tcp.mx.karotte.org IN TLSA 3 0 1
8C:63:28:DA:DB:18:FD:46:9C:0F:9D:69:F9:A9:D5:A9:E5:6C:AB:29:F1:6C:76:45:05:EC:03:D6:17:0F:A6:BD
posttls-finger: Connected to mx.karotte.org[2a01:4f8:150:7142::25]:25
posttls-finger: < 220 mx.karotte.org ESMTP Postfix (Debian/GNU)
posttls-finger: > EHLO mx.karotte.org
posttls-finger: < 250-mx.karotte.org
posttls-finger: < 250-PIPELINING
posttls-finger: < 250-SIZE 102400000
posttls-finger: < 250-ETRN
posttls-finger: < 250-STARTTLS
posttls-finger: < 250-ENHANCEDSTATUSCODES
posttls-finger: < 250 8BITMIME
posttls-finger: > STARTTLS
posttls-finger: < 220 2.0.0 Ready to start TLS
posttls-finger: mx.karotte.org[2a01:4f8:150:7142::25]:25: depth=0
matched end entity certificate sha256 digest
8C:63:28:DA:DB:18:FD:46:9C:0F:9D:69:F9:A9:D5:A9:E5:6C:AB:29:F1:6C:76:45:05:EC:03:D6:17:0F:A6:BD
posttls-finger: mx.karotte.org[2a01:4f8:150:7142::25]:25: Matched
subjectAltName: *.karotte.org
posttls-finger: mx.karotte.org[2a01:4f8:150:7142::25]:25: Matched
subjectAltName: karotte.org
posttls-finger: mx.karotte.org[2a01:4f8:150:7142::25]:25 CommonName
*.karotte.org
posttls-finger: mx.karotte.org[2a01:4f8:150:7142::25]:25:
subject_CN=*.karotte.org, issuer_CN=CAcert Class 3 Root,
fingerprint=7B:58:79:56:C2:92:59:35:11:94:79:04:CD:88:93:7B:C4:B6:10:BB,
pkey_fingerprint=F1:3F:0E:E9:89:1A:4B:72:90:3D:1A:6B:BB:99:A8:2A:B2:5D:FA:96
posttls-finger: Verified TLS connection established to
mx.karotte.org[2a01:4f8:150:7142::25]:25: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)

Regards

Sebastian

-- 
GPG Key: 0x93A0B9CE (F4F6 B1A3 866B 26E9 450A  9D82 58A2 D94A 93A0 B9CE)
'Are you Death?' ... IT'S THE SCYTHE, ISN'T IT? PEOPLE ALWAYS NOTICE THE SCYTHE.
            -- Terry Pratchett, The Fifth Elephant

Reply via email to