search cancel

Error acquiring G Suite Endpoint (Failed to construct sequence from byte[]: DER length more than 4 bytes: 111)

book

Article ID: 242035

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

Acquiring the endpoint on Identity Manager -  Completed all the required fields and upon submitting I get the following error 

2022-04-19 10:39:12,176 ERROR [com.netegrity.ims.exception.EventExecuteStateException] (Thread-5857 (ActiveMQ-client-global-threads)) Execution of event: CreateGSuiteEndpoint failed.  Exception encountered: Endpoint 'GSuite' creation failed: Connector Server Add failed: code 53 (UNWILLING_TO_PERFORM): failed to add entry eTDYNDirectoryName=GSuite,eTNamespaceName=G Suite,dc=im,dc=etasa: [email protected]: REST: [email protected]: REST: Failed to construct sequence from byte[]: DER length more than 4 bytes: 111 (ldaps://xxx.dev.xxx.xx:20411),

 

 

 

Environment

Release : 14.x

Component :

Cause

Wrong PEM key format was provided.

Resolution

After generating key file from Google side

Instead, copy the private key (PEM format) from generated file into editor and delete all end of line signs /n :

 

Please delete text -----BEGIN PRIVATE KEY----- and -----END PRIVATE KEY-----

So you'll get clear key that you can use to acquiring G Suite endpoint.

Attachments