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 609091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:31:44+00:00 2026-05-13T17:31:44+00:00

Are there any good options for connecting two SQL Server 2008 instances via Service

  • 0

Are there any good options for connecting two SQL Server 2008 instances via Service Broker if neither of those servers are in a domain, but we have full control over the logins and credentials?

We’re thinking of using this technology for enterprise-level data consolidation, but our servers run at client sites and are not configured as members of any domain. We’re looking for the least-pain option to get Service Broker communicating in this environment.

  • 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-13T17:31:44+00:00Added an answer on May 13, 2026 at 5:31 pm

    You use certificates, which is the Service Broker authentication option designed specifically for a scenario like your. See How does Certificate based Authentication work. When endpoints are configured with certificates based authentication the handhsake will contain an SSPI Schannel based authentication exchange (better known as SSL or TLS). The resulting certificate used by the peer is used to authorize the connection based on trust derived from certificate deployment. What that means is that the certificates used are not validated for a specific property like in the ‘https://example.com‘ case where ‘example.com’ has to e a specific OID on the certificate and a trusted authorithy signature, but instead if the certificate is deployed (ie. found in the master database) then the owner of the deployed certificate is the identity. This allows you to use self-signed certificates in a safe manner with root of trust in deployment (ie. the sysadmin), not an authorithy (ie. Verisign). This is a probably more info than you need 🙂

    The gist of it goes like this:

    -------------------------------------
    -- connect to server
    -------------------------------------
    use master;
    go
    create master key encryption by password = '...';
    create certificate [<servername>]
      with subject = '<servername>'
      , start_date = '20100216'
      , expiry_date = '20150216';
    
    create endpoint broker 
    state = started
    as tcp (listener_port = 4022)
    for service_broker (authentication = certificate [<servername>]);
    
    -- Export the public key to disk
    backup certificate [<servername>]
    to file = '\\someshare\<servername>.cer';
    
    --------------------------------
    -- connect to client
    --------------------------------
    use master;
    go
    create master key encryption by password = '...';
    create certificate [<clientname>]
      with subject = '<clientname>'
      , start_date = '20100216'
      , expiry_date = '20150216';
    
    create endpoint broker 
    state = started
    as tcp (listener_port = 4022)
    for service_broker (authentication = certificate [<clientname>]);
    
    -- Export the public key to disk
    backup certificate [<clientname>]
    to file = '\\someshare\<clientname>.cer';
    
    --create an identity for server and import the server's certificate:
    create login [<servername>] with password = '...';
    alter login [<servername>] disable;
    create user [<servername>];
    
    create certificate [<servername>]
      authorization [<servername>]
      from file = '\\someshare\<servername>.cer';
    
    --authorize <servername> to connect on the broker endpoint 
    grant connect on endpoint::broker to [<servername>];
    
    ---------------------------------------
    -- connect to the server
    ---------------------------------------
    
    --create an identity for client and import the client's certificate:
    create login [<clientname>] with password = '...';
    alter login [<clientname>] disable;
    create user [<clientname>];
    
    create certificate [<clientname>]
      authorization [<clientname>]
      from file = '\\someshare\<clientname>.cer';
    
    --authorize <clientname> to connect on the broker endpoint 
    grant connect on endpoint::broker to [<clientname>];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 309k
  • Answers 309k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You should be using the abstract HttpContextBase which is much… May 13, 2026 at 9:52 pm
  • Editorial Team
    Editorial Team added an answer Thanks to information from Cine, I think these are the… May 13, 2026 at 9:52 pm
  • Editorial Team
    Editorial Team added an answer Math.NET Numerics is very nice, if it supports the operations… May 13, 2026 at 9:52 pm

Related Questions

I have the task of choosing an XMPP server/client solution for an internal web
This error has been driving me nuts. We have a server running Apache and
I have put together a script which is very much like the flickr photostream
Does anyone have any opinions over the best ways to connect a client to
I am in the process of writing an enterprise-level application utilizing WCF and NetTCP

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.