About Me

My photo
I am an MCSE in Data Management and Analytics, specializing in MS SQL Server, and an MCP in Azure. With over 19+ years of experience in the IT industry, I bring expertise in data management, Azure Cloud, Data Center Migration, Infrastructure Architecture planning, as well as Virtualization and automation. I have a deep passion for driving innovation through infrastructure automation, particularly using Terraform for efficient provisioning. If you're looking for guidance on automating your infrastructure or have questions about Azure, SQL Server, or cloud migration, feel free to reach out. I often write to capture my own experiences and insights for future reference, but I hope that sharing these experiences through my blog will help others on their journey as well. Thank you for reading!

The certificate chain was issued by an authority that is not trusted SSMS connection



sometime while connecting to the database server using SSMS you get below error.

Issue:-

TITLE: Connect to Server
------------------------------

Cannot connect to 4X.6X.1X8.2X1,1433.

------------------------------
ADDITIONAL INFORMATION:

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (Microsoft SQL Server, Error: -2146893019)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-2146893019&LinkId=20476

------------------------------

The certificate chain was issued by an authority that is not trusted

------------------------------
BUTTONS:

OK
------------------------------


Problem:- 


Resolution:- In order to resolve this issue.

Method 1:-

If You are trying to access it through Data Connections in Visual Studio 2015, and getting the above Error, Then Go to Advanced and set  TrustServerCertificate=True for error to go away.



Method 2:- 
If You are trying to access it through SSMS, and getting the above Error, Then Go to Advanced and set  TrustServerCertificate=True for error to go away.










Method 3:- 
If you're using SQL Management Studio, please goto connection properties and click on "Trust server certificated"






SQL Server Managed Backup to Microsoft Azure cannot configure the default backup settings for the SQLServer instance because the container URL was invalid. It is also possible that your SAS credential is invalid.


Issue:-

Msg 45207, Level 17, State 6, Procedure managed_backup.sp_add_task_command, Line 102 [Batch Start Line 23]
SQL Server Managed Backup to Microsoft Azure cannot configure the default backup settings for the SQLServer instance because the container URL was invalid. It is also possible that your SAS credential is invalid.

The Best Place To Get Azure Cloud Facts in one place


This page has around many Awesome facts about Azure Cloud

-----------------------------------------------------------------------------------------