Unix V2 Endpoint: Troubleshooting "Decrypted PEM has wrong padding" Errors in Identity Manager
search cancel

Unix V2 Endpoint: Troubleshooting "Decrypted PEM has wrong padding" Errors in Identity Manager

book

Article ID: 196354

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

This article addresses the error "Decrypted PEM has wrong padding" that occurs in Identity Manager when interacting with Unix V2 endpoints.

This error signifies a cryptographic mismatch between the cached credentials and the actual password on the target system.

Environment

Identity Manager 14.5

Cause

The "Decrypted PEM has wrong padding" error occurs when the password stored within the JCS (Java Connector Server) SSHKeychain does not align with the actual password on the Linux/Unix target host. This typically happens after a manual password change on the endpoint without updating the corresponding Identity Manager endpoint configuration.

Resolution

  1. Verify Endpoint Credentials: Confirm that the password used on the Unix target host matches the credentials configured for the Unix V2 endpoint within Identity Manager.

  2. Clear Stored Credentials: Remove existing passwords from the SSHKeychain associated with the specific endpoint:

    • Navigate to the endpoint configuration in the Identity Manager Console.
    • Remove the cached passwords stored in the SSHKeychain for the affected Unix V2 endpoint.
  3. Synchronize and Re-test:

    • Once the keychain is cleared, perform a test connection from the Identity Manager/JCS interface to the Unix endpoint.
    • If connectivity is restored, update the endpoint configuration with the correct, current password.
  4. Endpoint Troubleshooting: If the error persists after verifying credentials and clearing the SSHKeychain, review the JCS logs to identify if there are communication issues or specific encryption library conflicts on the Unix target host.

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.