How to get private.key accessible in Campaign Classic



Hey Folks,

I am trying to establish an authentication from Campaign Classic to Connect with Analytics 2.0 API's. For which I am using Service Account based Authentication which uses a JWT Token.

We created a Integration in and as a part of next steps, we also created a certificate_pub.crt Certificate and private.key Key.

Now I need to generate JWT by passing JWT Payload along with private.key with (Base64 Encoded) pro-grammatically in campaign.

Can someone guide me on how can i achieve this? I need to get JWT, so that i can able to make a request to to get the Access Token using which i can able to authenticate to access Analytics API Data.

Quick help is appreciated


Sri Bhargav