Skip to main content

Configure Microsoft Exchange in myAvatar

myAvatar uses Exchange Web Services (EWS) to view Microsoft Exchange appointments in the My Calendar widget. It also requires that "Basic Authentication" be enabled.


  1. Open Internet Information Services (IIS) Manager.
  2. Click the EWS folder, then click Authentication, and choose Enable.
  3. Run Windows Command Prompt as administrator.
  4. Run iisreset /noforce or iisreset /restart.
  5. In myAvatar , go into Preferences, click on the Calendar tab, and check Microsoft Exchange.
  6. Click Configure, and enter the Server, Domain, User ID, and Password information. Remember to check Use SSL.
    After completion, log in and examine the My Calendar widget. If there is a red message "Unable to load 'Microsoft Exchange' appointments," click on the Detail link.
  7. If the full message in the Error Detail screen shows the following error, then the java certificate file on the Middleware server (cacerts) does not know about the Certificate Authority used for the web server.

"Calendar error: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

  1. The next step would be to import the CA cert into this file.
Import cert into cacert file
  1. Obtain the web mail certificate by starting Internet Explorer and going into webmail.
  2. Click on the lock icon in the URL bar and select View Certificates.
    Click on the Details tab and select the button Copy to File.
  3. Click Next.
  4. Make sure only DER encoded binary X.509 (.CER) is selected and click Next.
    Specify a file name with a ".cer" extension, and click Next.
  5. When the Certificate Export Wizard shows the export has been completed, click Finish.
  6. In the confirmation window, click OK.
  7. Remote desktop to the Middleware server.
  8. The location of the cacerts file on the Middleware is: \java\jre\lib\security\cacerts.
  9. Copy this file to the same directory where you created the .cer file (C:\tempcert).
  10. Start a cmd prompt and navigate to the following directory: <radplus-dir\jav\bin>
    > keytool.exe -import -alias exchangecert -keystore C:\tempcert\cacerts -storepass changeit -file C:\tempcert\exchangecert.cer
  11. Type "yes" to: Trust this certificate? [no]:
  12. Hit Return.
  13. The last message should be: "Certificate was added to keystore".
  14. Rename \java\jre\lib\security\cacerts
    to:
    \java\jre\lib\security\cacerts.beforeExchangeImport
  15. Copy C:\tempcert\cacerts into \java\jre\lib\security.
  16. Restart the myAvatar RADplus Middleware service.
  17. Login to myAvatar . The calendar error should be resolved.

 

  • Was this article helpful?