500 Can't connect to itshelp.example.com:443 (certificate verify failed)

Hi,
I am in desperate need of help. I am running Ubuntu 16.04, RT 4.4.4 and apache 2.4.18 (Ubuntu)

For some reason, postfix is giving me a certificate error and mail cannot get into my RT server.
Here is what I am seeing in the mail.log

Aug 15 15:03:22 util2 postfix/local[20300]: 4110BB40945: to=helpdesk@example.com, relay=local, delay=17494, delays=17493/0.3/0/0.15, dsn=4.3.0, status=deferred (temporary failure. Command output: HTTP request failed: 500 Can’t connect to itshelp.example.com:443 (certificate verify failed). Your webserver logs may have more information or there may be a network problem. )

I have added --no-verify-ssl --ca-file /etc/ssl/certs/ca-bundle.crt to the aliases file to try to get around it.

rt: “|/opt/rt4/bin/rt-mailgate --queue Helpdesk --no-verify-ssl --ca-file /etc/ssl/certs/ca-bundle.crt --action correspond --url https://itshelp.example.com/

My server has a valid Incommon wildcard ssl certificate.

Thanks in advance for any help. I am not very experienced with this.

Do you see the same issue for an alias entry like?:

rt: “|/opt/rt4/bin/rt-mailgate --queue Helpdesk --no-verify-ssl --action correspond --url http://itshelp.example.com/”

Thanks very much for your response. In the postfix logs, i get:
Aug 15 23:01:01 util2 spamc[8667]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
Aug 15 23:01:01 util2 spamc[8667]: connect to spamd on 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Aug 15 23:01:01 util2 postfix/smtpd[8661]: disconnect from mail-il1-f171.google.com[209.85.166.171] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Aug 15 23:01:02 util2 spamc[8667]: connect to spamd on ::1 failed, retrying (#2 of 3): Connection refused
Aug 15 23:01:02 util2 spamc[8667]: connect to spamd on 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Aug 15 23:01:03 util2 spamc[8667]: connect to spamd on ::1 failed, retrying (#3 of 3): Connection refused
Aug 15 23:01:03 util2 spamc[8667]: connect to spamd on 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Aug 15 23:01:03 util2 spamc[8667]: connection attempt to spamd aborted after 3 retries

and then a bounce back email that says: The address you sent your message to wasn’t found at the destination domain

I believe spamd is spam assassin ( but I’m not sure ) seems this has something to do with your Postfix setup for detecting spam on incoming email