Could not read RSA private key

Community Beginner ,
Aug 02, 2022 Aug 02, 2022

Copy link to clipboard

Copied

Hi, I'm storing my private key in my Azure function configuration and when I run my application from the remote Azure server I get "Could not read RSA private key." This error does not occur when I run my application locally (I'm storing the RSA key in my local.settings.json file). Why can I read the RSA key locally, but not remotely? Thanks.

Views

67

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 02, 2022 Aug 02, 2022

Copy link to clipboard

Copied

LATEST

In some places, I've seen issues where the newlines get removed when the private key value is stored. Maybe see if that's happening? I talk about how I handle that in Lambda here: https://medium.com/adobetech/using-adobe-pdf-services-with-amazon-lambda-949143c06696

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources