Hi All,
I am working on azure function and I have to read the .pfx certificate file. Can some one please guide where to store the .pfx certificate and use in azure function?
I tried the below approaches but always I get the error "specified file could not find":
1) Tried uploading the file in KeyValut certificate, It restrict me to upload the .pfx file, it gives the error "Unsupported key size (1024). Supported sizes are [2048, 3072, 4096]".
2) Uploaded the file in AzureBlob and read the file by url in azure function, unfortunately it doesn't help.
3)Reading the file from kudo bin(azure function) doesnt work
X509Certificate2 cert = new X509Certificate2("certificatepath", "password");
Thanks
Hemant
*This post is locked for comments