Not able to Delete a private key in use by connector for current admin
search cancel

Not able to Delete a private key in use by connector for current admin

book

Article ID: 268036

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Deleting a Private key is failing with;

Unable to delete key: Key "<keyNameHere>" is in use by the connector for current admin connection 

 

Environment

Release : 10.1

Resolution

1) Ensure you have 2 ports that allow policy manager access. I.e.  9443 and 7443. Modify the listen port that is not connected i.e. if you connected via 9443 Change 7443 to use a different private key.

2) For the port changed unclick enable save. Click enable and save again. (to reinitialize the listen port)

3) Disconnect policy manager and reconnect using the updated port NOT using the key in question in our case here connect policy manger to :7443

4) Delete the private key in question and policy.

5) Install the private key in question.

6) Modify the 9443 listen port to use the new key (if CN has changed).

7) Disconnect from policy manager and reconnect to original port :9443.

8) Goto the listen port properties for the other port 7443 and assign it to the newly installed key if desired.