
Configuring Inbound Connections
Next, follow these steps for each partner that you are configuring for database mirroring. In the master database:
-
Create a login for the other system.
-
Create a user for that login.
-
Obtain the certificate for the mirroring endpoint of the other server instance.
-
Associate the certificate with the user created in step 2.
-
Grant CONNECT permission on the login for that mirroring endpoint.
If there is a witness, you must also set up inbound connections for it. This requires setting up logins, users, and certificates for the witness on both of the partners, and vice versa.
For more information, see How to: Allow Database Mirroring to Use Certificates for Inbound Connections (Transact-SQL).