Can't connect SDP to new Exchange Server 2013 after migration.

Can't connect SDP to new Exchange Server 2013 after migration.

Trying to connect via IMAPS TLS and keep getting the message  " FAILURE :E-mail settings saved successfully. Could not find valid certification path to requested target, so kindly configure to apply Trusted/Self Signed Certificate."

I'm not using a self signed cert, our cert is from Godaddy and is valid.  I'm also able to connect to the account with outlook via IMAP TLS   with no issue.

I found this old thread here  https://forums.manageengine.com/topic/gencert-bat-not-working-ubuntu, I'm also on Ubuntu 14.04 but the solution to run the commands listed there don't work.

When i run 

2.Connect to the console and goto  ../ManageEngine/Servicedesk/jre/bin and execute the command line with the below syntax.

 ../ManageEngine/Servicedesk/jre/bin]#java -cp lib/cert.jar InstallCert exchangeservername:portnumber

I get "bash: /ManageEngine/ServiceDesk/jre/bin/#jre/bin/#java: No such file or directory"....  

I've tried changing the syntax a bit and filling in more of the path but the response doesn't change.

I then tried to run the java directly with 

java -jar cert.jar
This returns "no main manifest attribute, in cert.jar".

I'm stuck...

                  New to ADSelfService Plus?