question

azure-7678 avatar image
0 Votes"
azure-7678 asked JamesTran-MSFT commented

Retrieving the certificate from keyvault on azure app service failed

"The system cannot find the file specified.\n\r at Internal.Cryptography.Pal.CertificatePal.FilterPFXStore(Byte[] rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags)\r\n at Internal.Cryptography.Pal.CertificatePal.FromBlobOrFile(Byte[] rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)\r\n at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(Byte[] data)\r\n at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Byte[] rawData)\r\n "

please help me by calling the certificate i am getting the issue file not found followed the below steps to get certificate with private key .
decryption-with-a-azure-key-vault-certificate-returns-errors


azure-webappsazure-key-vaultazure-webapps-development
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@azure-7678
Thank you for your post!

  • When it comes to your Azure App service failing to retrieve the certificate, did you set this up using the TLS/SSL settings within the App service?

  • Was this working previously or was this a recent issue?

  • Did you change anything that could've affected the certificate retrieval?

  • When you retrieve the certificate using the Stack Overflow post, are the contents of the certificate still valid/nothing has changed?

Any additional information would be greatly appreciated!


If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

0 Answers