How to download certificate programmatically from "Azure Certificate Authority details"

ak1092 41 Reputation points
2024-02-29T15:04:25.92+00:00

Hi Team,

How we can download all the root and intermediate certificate from the "Azure Certificate Authority details" via API. Need to add all of them to truststore for application use case to connect to Azure fileshare in multiple regions.

Thanks and Regards,

Akshaykumar

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,281 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,111 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anand Prakash Yadav 7,785 Reputation points Microsoft Vendor
    2024-03-04T12:58:17.3866667+00:00

    Hello Akshay,

    Thank you for posting your query here!

    As of the current state, I do not see a direct API or service specifically designed to programmatically download all root and intermediate certificates from the "Azure Certificate Authority details." However, you can try to achieve the goal of securely connecting to Azure services, such as Azure File Share, across multiple regions by following these steps:

    Identifying the Certificate Authorities (CAs) trusted by Azure services and download Certificates from CAs.

    You can automate the process of downloading and managing certificates using scripting or programming languages. For example, you might write a script to fetch the certificates from the CAs' websites and import them into your application's trust store.

    And configure your application to use the updated trust store containing the downloaded root and intermediate certificates when establishing connections to Azure services.

    However, this approach requires some manual effort and scripting to ensure that your application can securely connect to Azure services while maintaining trust with the necessary certificate authorities.

    Do let us know if you have any further queries. I’m happy to assist you further.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members. 


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.