Java Connector Server Azure Endpoint Creation Failure via Authenticated HTTP Proxy
search cancel

Java Connector Server Azure Endpoint Creation Failure via Authenticated HTTP Proxy

book

Article ID: 246249

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

When attempting to acquire a Microsoft Azure endpoint through the Identity Manager User Console using a Java Connector Server (JCS) configured with an HTTP proxy, the operation may fail.

This occurs because the JCS does not automatically include proxy authentication credentials in its requests unless they are explicitly defined in the server configuration files.

 

Create Azure Endpoint task, Azure Endpoint AZURE-TEST: Create Azure Endpoint "AZURE-TEST": Failed to execute CreateAzureEndpoint. ERROR MESSAGE: Endpoint 'AZURE-TEST' creation failed: Connector Server Add failed: code 1 (OPERATIONS_ERROR): failed to add entry eTDYNDirectoryName=AZURE-TEST,eTNamespaceName=Azure,dc=im,dc=etaSa: JCS@ca-idm-coll: AzureRest: JCS@ca-idm-coll: AzureRest: Connect to login.microsoftonline.com:443

Environment

Identity Manager 14.x & 15

Cause

The Java Connector Server requires proxy credentials to be manually specified in the configuration files to utilize an authenticated HTTP proxy for outbound Azure API calls. Even if the host and port are configured, the lack of httpProxyPrimary.username and httpProxyPrimary.password parameters causes the connection to fail.

Resolution

Manually add the required proxy authentication parameters to the JCS configuration.

  1. Navigate to the following directory on the JCS server:
    • Linux: /opt/CA/Identity Manager/Connector Server/jcs/conf/override/
    • Windows: C:\Program Files\CA\Identity Manager\Connector Server\jcs\conf\override\
  2. Open the server_jcs.properties file for editing.
  3. Ensure the following properties are present and correctly configured:
    httpProxyConfiguration.enabled=truehttpProxyPrimary.host=[Proxy_IP_Address]httpProxyPrimary.port=[Proxy_Port]httpProxyPrimary.username=[Your_Proxy_Username]httpProxyPrimary.password=[Your_Proxy_Password]
  4. Save the file.
  5. Restart the Java Connector Server service to apply the changes.

Additional Information

Microsoft Azure - 14.5

Configure Connector Server - 14.5

 

Microsoft Azure - v15

Configure Connector Server - v15