Invalid private key alias with ANAPLAN Connect

Options
Nikola
Nikola Member, ALL USERS Posts: 2 New Contributor

Hi there,

 

I am trying to get an Import done with anaplan connect on windows. I've got to go the way with certificate authentication so I've followed the instructions in ANAPLAN Doc (https://s3.amazonaws.com/anaplanenablement/Community/Anapedia/Anaplan_Connect_v1_4_4.pdf) on Site 11 Option2:CreateaJavaKeyStore. I've done everything what was explained in the linked video (https://community.anaplan.com/t5/On-Demand-Courses/Certificate-Authentication-Process/ta-p/74752)

 

After Running the .bat file on windows I get following Error in the command prompt:

Anaplan API: Could not intialise service credentials (Anaplan API: Invalid Private key alias provided! (Unrecoverable key: Cannot recover key))

I am not quiet sure whats meant with the private key alias. The only alias I've written down in the .bat file is the KeyStoreAlias.

Can someone explain me what causes this error? And maybe how I can fix it?

 

Greetings,

Niko

Comments

  • Nikola
    Nikola Member, ALL USERS Posts: 2 New Contributor

    Hi Stacy,

     

    thank you for your fast reply.

    It's likely that the error I got was because of the missing public key in the anaplan administration.

     

    I just tried to upload the public key where you described it (https://help.anaplan.com/b7b8331e-8460-4cff-a337-1b326950f518-Manage-your-Certificates)

    I attached a screenshot of an error as well as the public key with some information blurred.

     

    Do you have any idea whats the issue here? The .pem file doesn't look wrong to me.

     

    Niko

  • u06gr8
    u06gr8 Member, ALL USERS, Partner, Certified Model Builder Posts: 5 Contributor
    Just to note - there was an issue in creation of the certificate by the client's InfoSec.

    A good old-fashioned, double/triple check found that there were duplicate lines in the cert, that once, amended, resolved the issue.

    Thanks for your help @Stacey_Gibbens