I've been trying to get through this for a while now.  For some reason, when I try to setup the automatic mailbox polling using fetchmail to connect to my Exchange2007 server and it keeps throwing up the following errors:

depth=0 /CN=exchange01
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /CN=exchange01
verify error:num=21:unable to verify the first certificate
verify return:1
fetchmail: Error exchanging credentials
read:errno=0

This is the current fetch line in my .fetchmailrc:
poll exchange01.mydomain  protocol IMAP port 993 plugin "openssl s_client -connect %h:%p" user otrs pass otrspass is otrs here

This is the cron entry I'm using:
* * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a >> /dev/null

My OTRS server is running CentOS 5.3 and is trying to connect to an Exchange2007 server through IMAP SSL.

If anybody has run into and resolved this issue before I would be grateful for any help, I have been googleing like crazy trying to find an answer for this and really haven't gotten anywhere.  Any help that can be given is extremely helpful.

~Davin