3 messages in net.sourceforge.lists.courier-users[courier-users] Any problems with X50...
FromSent OnAttachments
Brian A. SekleckiJan 21, 2008 12:01 pm 
Johnny C. LamJan 21, 2008 1:33 pm 
Brian A. SekleckiFeb 1, 2008 1:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Any problems with X509v3 Extensions?Actions...
From:Brian A. Seklecki (lava@spiritual-machines.org)
Date:Jan 21, 2008 12:01:18 pm
List:net.sourceforge.lists.courier-users

All:

Does anyone know of any known-problems with couriertcpd / imapd / esmtpd encountering problems using server-side certificates with X509 v3 Extensions?

e.g.:

$ openssl x509 -text -in interface.crt.pem

X509v3 extensions: X509v3 Subject Alternative Name: email:postmaster@tld Netscape Cert Type: SSL Server, S/MIME, Object Signing X509v3 Extended Key Usage: TLS Web Server Authentication

From:

$ openssl x509 -req -in iface.csr.pem -days 365 -extfile \ private/openssl.cnf -extensions v3_req_ext -CA internal_ca.crt.pem\ -CAkey internal_ca.key.pem -set_serial serial.txt \ -out newcerts/iface.crt.pem

With openssl.cnf:

[ v3_req_ext ] subjectAltName=email:copy nsCertType = server, email, objsign # .2 = Client, .1 = Server #extendedKeyUsage = 1.3.6.1.5.5.7.3.2 extendedKeyUsage = 1.3.6.1.5.5.7.3.1

This is the way Godaddy rocks out.

I like to use the same private key / public key for my IMAP, SMTP, and Apache daemons (on a per-interface basis of course).

Every year I go through suffer through hours of self abnegation trying to re-issue certificates for a dozen F/OSS applications that all have little caveats --- This year I'm writing that shit down >:}

~BAS