Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasOvaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
Applies to:
SQL Server
To enable certificate authentication for database mirroring on a given server instance, the system administrator must configure each server instance to use certificates on both outbound and inbound connections. Outbound connections must be configured first.
Bilješka
All mirroring connections on a server instance use a single database mirroring endpoint, and you must specify the authentication method of the server instance when you create the endpoint. Therefore, you can use only one form of authentication per server instance for database mirroring.
Follow these steps on each server instance that you are configuring for database mirroring:
In the master database, create a database master key.
In the master database, create an encrypted certificate on the server instance.
Create an endpoint for the server instance using its certificate.
Back up the certificate to a file and securely copy it to the other system or systems.
You must complete these steps for each partner and the witness, if there is one.
For more information, see Allow a Database Mirroring Endpoint to Use Certificates for Outbound Connections (Transact-SQL).
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 Allow a Database Mirroring Endpoint to Use Certificates for Inbound Connections (Transact-SQL).
Unless you can guarantee that your network is secure, we recommend that you use encryption for database mirroring connections. For more information, see The Database Mirroring Endpoint (SQL Server).
When copying a certificate to another system, use a secure copy method. Be extremely careful to keep all of your certificates secure.
Create a Database Master Key
CREATE MASTER KEY (Transact-SQL)
Transport Security for Database Mirroring and Always On Availability Groups (SQL Server)
Security Center for SQL Server Database Engine and Azure SQL Database
The Database Mirroring Endpoint (SQL Server)
Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja jezika SQL, platforme Fabric i platforme Power BI. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasObučavanje
Put učenja
Implement a secure environment for a database service - Training
Implement a secure environment for a database service
Certifikacija
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
Dokumentacija
Set up login accounts (mirroring & availability groups) - SQL Server Database Mirroring
Configure login accounts to access the database mirroring endpoint of a database mirror or an Always On availability group.
Transport Security: Availability groups & database mirroring - SQL Server Database Mirroring
Learn how to secure messages between databases participating in an Always On availability group or in a database mirroring session hosted on SQL Server.
The Database Mirroring Endpoint (SQL Server) - SQL Server Database Mirroring
Learn about a dedicated database mirroring endpoint, which is required for each server to participate in Always On availability groups or database mirroring.