How to use mTLS to secure a sql database

David Andersson 0 Reputation points
2024-05-30T07:43:23.8666667+00:00

Hi,

I'm trying to an managed sql database in Azure using either a managed sql instance or cosmosdb with the postgres interface. However I would like to secure the communication towards it using mTLS since all of the communication will come from outside of Azure. What would be the best approach to accomplish this?

Azure SQL Database
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,518 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deepanshukatara-6769 7,040 Reputation points
    2024-05-30T10:24:59.6766667+00:00

    Hi David,

    Please check this document which include step by step process to achieve mTLS for SQL databases in azure https://techcommunity.microsoft.com/t5/azure-database-support-blog/certificate-based-authentication-for-azure-sql-database/ba-p/3109938

    Kindly accept answer if it helps,

    Thanks

    Deepanshu

    0 comments No comments

  2. GeethaThatipatri-MSFT 29,007 Reputation points Microsoft Employee
    2024-05-31T15:59:40.9966667+00:00

    @David Andersson Welcome to Microsoft Q&A thanks for posting your question.

    Azure Cosmos DB for PostgreSQL doesn’t support mTLS. Our service does however enforce TLS 1.2 as the minimum version of TLS for client-database connections and allows to use TLS 1.3. Apps can also do node certificate verification for TLS connectivity.

    Regards

    Geetha

    0 comments No comments