The driver communicates over SSL with Azure AD and Identity Manager Exchange Service.
IMPORTANT:The connection accepts certificates only from a Java keystore. Make sure that the keystore for the certificates is a Java keystore.
The following sections provide instructions for creating a secure connection:
To set up SSL between the driver and Azure AD graph REST endpoints, perform the following steps:
Open the following URL from your browser:
https://graph.windows.net/
Obtain the public certificate and import it into the keystore.
For example, if you are using Mozilla Firefox, perform the following steps:
In the address bar, click
and then click
next to graph.windows.net.
Select Certificate (Valid). The certificate is displayed.
Click Certification Path. The Certification Path displays the hierarchical structure of the structure of all the certificates.
Select the root certificate (the top most parent certificate), and click View Certificate. The root certificate is displayed.
To save the certificate to your system, click Details > Copy to File > Next > Next.
Enter a filename for the certificate and save it to a location as required.
Add the exported key to the driver keystore using the following Java keytool command:
You might have to create a new keystore(.jks file), if one such file doesn’t exist already. This keystore file will contain the public certificate of the Azure graph endpoint and the exchange service certificate.
keytool -import -file <path to the graph cert file>\<certname.crt> -keystore <mykeystore> -alias <aliasname>
For example: keytool -import -file azuread.crt -keystore azuread.jks -alias azuread.
NOTE:
Ensure to place the new keystore in IDM Server. In case of Remote Loader place the keystore file in the system where the Azure AD driver is running.
Ensure that you follow the above steps to import all the certificates into the keystore.
To set up SSL between the driver and Identity Manager Exchange Service, you need to create and import a server certificate into the root certificate store of the Windows server where the service is deployed. The following procedure assumes eDirectory as the Certificate Authority (CA).
Create a server certificate.
In iManager, log in to the connected eDirectory server with administrator rights.
Click Roles and Tasks > NetIQ Certificate Server > Create Server Certificate.
Select the server and provide a nickname for the certificate.
The nickname is same that you specified for Certificate Alias (example azuread as shown in previous section) while installing Identity Manager Exchange Service.
Click Next, then click Finish to complete the certificate creation.
Export the server certificate from the connected eDirectory server and save it to a file in the pfx format.
In iManager, log in to the connected eDirectory server with administrator rights.
Click Roles and Tasks > NetIQ Certificate Access > Server Certificates, then select any server certificate.
Click Export.
Select the certificate by nickname and select Export Private Key.
Enter the password and click Next.
To save the certificate to a file, click Save the exported certificate.
Import the certificate to the trusted store of the Windows server on which you will run Identity Manager Exchange Service.
Copy the .pfx file to the Windows server.
Click Start > Run> mmc.
Click File > Add/Remove Snap-in.
Select Certificates and click Add to import this snap-in by choosing Computer account.
Click Finish.
Navigate to Certificates > Trusted Root Certification Authorities.
Right-click and then select All Tasks > Import.
On the Welcome to the Certificate Import Wizard page, click Next.
Click Browse and select the eDirectory certificate you exported in Step 2.
Specify the password and click Next.
Click Finish to import the certificate into the trust store.
Start Identity Manager Exchange Service. For more information, see Verifying and Starting the Identity Manager Exchange Service.
Open the following Exchange service URL from your browser:
https://<Exchange_Service>:Port/ExchServer
Obtain the public certificate and import it into the same keystore which was created and placed in IDM Server as mentioned in Step 2.g (for example, the keystore azuread as shown in the example for the Step 2.g).
For example, perform the following steps to obtain a public certificate on Google Chrome:
Click
from the address bar and then click Details.
In the Security tab, click View Certificate.
In the Details tab, click Copy to File.
In the Certificate Import Wizard, click Next.
Select DER encoded binary and click Next.
Click Browse and navigate to the directory where you want to save the certificate.
Specify a name for the certificate and click Next.
Click Finish to complete the export.
Add the exported key to the driver keystore by using the following Java keytool command:
keytool -import -file <path to the exchange cert file>\<certname.cer> -keystore <mykeystore> -alias <aliasname>
NOTE:Ensure the keystore alias names are different for Azure AD Graph and the Exchange Service.