TLS: No CA file specified - reason and solution
In OSX Server, in the log file for imapd, you will see a log entry along the lines of:
imapd TLS server engine: No CA file specified. Client side certs may not work
several times per hour. This happens for all versions of OSX Server up to and including 10.5.5.
Firstly, it’s not an important error. It’s a warning. What it is saying is that IMAP authentication using client-side certificates over SSL will not work. That’s OK, you have plenty of other ways to authenticate to IMAP. However, it’s annoying (to me, at least) that this warning clutters up the logs.
The way to remove this is to to add a new line into /etc/imapd.conf - one that actually specifies a root certificate for client-side certificates. Do this by adding the line to /etc/imapd.conf:
tls_ca_file: /etc/certificates/Default.crt
And stop and restart the mail services.
This assumes you haven’t changed the name or location of the default certificate OSX Server generates. Change the certificate you choose to use if so.
This will stop the warning being written to the logs, and won’t cause any problems: people won’t be able to log in based on this because you won’t have generated any user certificates off the default certificate. However, if you’re feeling particularly paranoid, generate a fresh certificate using Server Manager, and use that.
Technorati Tags:
OSX, TLS, imap, imapd, certificate
Posted: September 30th, 2008 under Tips.
Comments: none