Panther – Forcing Mail.app to accept self-signed SSL certificates

Apple has an official knowledgebase article describing how to inject self-signed SSL certificates into your X509Anchors keychain so Mail.app and Safari.app will stop complaining when establishing a connection for the first time. I’ve been doing this by hand for quite a while, but Apple’s method is much easier.