Sign in to Community
Sign in to view all badges
I am trying to Test the transactional messaging via Adobe Campaign Standard through API call.
We have gone through the following references regarding usage of Adobe Campaign Standard APIs:
Now the issue that we are facing is that We are receiving this error while trying to generate the access token using JWT and payload.
Server returned HTTP response code: 400 for URL: https://ims-na1.adobelogin.com/ims/exchange/jwt/
We checked it using POSTMAN. We are getting the below error. But using the Same JWT token we were able to generate access token earlier. We did not change anything in our code.
Any guess, what might be wrong here? W are stuck on this .
Any suggestion/help would be great.
Regarding the extra lines in the payload. Aren't these values generated automatically after the integration is completed? We don't have to manually add/delete anything, I believe.
And I checked my private key contents.
The word RSA is missing in both begin and end statements in my private key file.
I used these commands to generate the certificate and private keys(using Cygwin terminal).
Reference : https://www.adobe.io/apis/cloudplatform/console/authentication/jwt_workflow.html
# create the certificate and private key using openssl
$ openssl req -nodes -text -x509 -newkey rsa:2048 -keyout secret.pem -out certificate.pem -days 356
# convert private key to DER format
$ openssl pkcs8 -topk8 -inform PEM -outform DER -in secret.pem -nocrypt > secret.key
Is there any other way(commands) to generate these keys?