0

I have Azure Function deployed in Linux App Service Plan P2v3.

On the left pane I can go to Settings and then Certificates. After clicking Bring your own certificates (.pfx) I can see cert DEV2APP.

I tried to get it from Azure Function this way:

KeyStore ks = KeyStore.getInstance(storeType);
log.info("certifStore path=" + certificateStore);

File certFile = new File(certificateStore);
log.info("isFile: " + certFile.isFile());
log.info("can read: " + certFile.canRead());

but it didn't work. In Azure Function logs I can see:

certifStore path=/home/certs/DEV2APP.pfx
  [Info]   isFile: false
  [Info]   can read: false

How can I get this certificate from Azure Function?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.