Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7505595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:58:11+00:00 2026-05-29T21:58:11+00:00

Subtitle – How do I actually connect to SQL Azure securely without Man in

  • 0

Subtitle – How do I actually connect to SQL Azure securely without Man in the middle attacks?

I can use a ADO.net connection string with TrustServerCertificate=true and connect to the server successfully. But by doing that I would lose protection against a man-in-the-middle attack where the communication with the server is hijacked, and an unknown certificate is used to establish the connection. So I want to use TrustServerCertificate=false.

The only problem is, now I get the error that the connection fails trust validation. I expect the solution to this is that I need to install the SQL Azure’s server certificate in one of my certificate stores. The problem is I have no idea how to get the server certificate. Help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:58:12+00:00Added an answer on May 29, 2026 at 9:58 pm

    To validate the certificate in the ADO.Net world you need to have Encrypt=True and TrustServerCertificate=False for it to work. Did you have Encrypt=True in your orginal scenario?

    A good read on SQL Azure security can be found on the wiki below:
    http://social.technet.microsoft.com/wiki/contents/articles/sql-azure-connection-security.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can we create some custom button with title and subtitle text in it. Title
Can someone tell me what's the font family names for above texts (title, subtitle,
I can define a style as follows in Silverlight 4: <Style x:Name=Subtitle TargetType=TextBlock> <Setter
I have a chart in Excel that I'd like to use a subtitle on.
ASP.net web method: [WebMethod()] public Data.Subtitle[] GetAll() { return Data.Subtitle.FindAll(); } Here's the Subtitle
I have a flash app that plays movies. It loads subtitles and subtitle times
Visual Studio 2008 insists on indenting HTML like this: <h1> title</h1> <h2> subtitle</h2> where
I have an XML like this: <EXP> <TITLES> <SUBTITLE CL=AXT4 FL=1 NB=Text 1/> </TITLES>
How can I set the font used by the FLVPlaybackCaptioning component for subtitles? Using
I have a subtitle text file that works with standart srt format 00:00:00,000 Hour,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.