You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/database-engine/service-broker/how-to-allow-service-broker-network-access-by-using-certificates-transact-sql.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ ms.date: "03/30/2022"
16
16
17
17
To allow another instance to send messages using certificate-based Service Broker transport security, you create a user for the other instance and install the certificate for the other instance.
18
18
19
-
###To permit access from another instance using certificates
19
+
## To permit access from another instance using certificates
20
20
21
21
1. Obtain the certificate for the other instance from a trusted source. Typically, this involves sending the certificate using encrypted e-mail or transferring the certificate on physical media such as a floppy disk.
22
-
23
-
> [!NOTE]
24
-
> Only install certificates from trusted sources.
22
+
23
+
> [!NOTE]
24
+
> Only install certificates from trusted sources.
25
25
26
26
2. Create a login.
27
27
@@ -35,17 +35,13 @@ To allow another instance to send messages using certificate-based Service Broke
35
35
36
36
> [!NOTE]
37
37
> Only dump the certificate used for transport security. Do not dump or distribute the private key associated with the certificate.
38
-
:::column-end:::
39
-
:::row-end:::
40
38
41
-
7.Provide the certificate to the administrator of the other database. The administrator of the remote database installs this certificate using steps 1-4 above.
39
+
7. Provide the certificate to the administrator of the other database. The administrator of the remote database installs this certificate using steps 1-4 above.
42
40
43
41
Once access is configured in each instance, then communications between the two instances use Service Broker transport security when the endpoints for both instances are configured to allow transport security.
44
42
45
43
## Example
46
44
47
-
48
-
49
45
```sql
50
46
USE master ;
51
47
GO
@@ -79,22 +75,12 @@ Once access is configured in each instance, then communications between the two
79
75
BACKUP CERTIFICATE TransportSecurity
80
76
TO FILE ='C:\Certificates\ThisInstanceCertificate.cer' ;
81
77
GO
78
+
```
82
79
83
80
## See Also
84
81
85
-
86
-
87
-
#### Tasks
88
-
89
-
[How to: Create Certificates for Service Broker Transport Security (Transact-SQL)](how-to-create-certificates-for-service-broker-transport-security-transact-sql.md)
-[How to: Create Certificates for Service Broker Transport Security (Transact-SQL)](how-to-create-certificates-for-service-broker-transport-security-transact-sql.md)
0 commit comments