CN security certificate error

Symptom: When trying to access Gmail via IMAP, you encounter the error, 'The server you are connected to is using a security certificate that could not be verified. The certificate's CN name does not match the passed value. Do you want to continue using this server?'

Explanation: Make sure you've set up your mail client for IMAP access rather than POP access. In addition, please verify that you have entered 'imap.gmail.com' rather than 'pop.gmail.com' as your Incoming Server setting.