Skip to content

Commit f3966e4

Browse files
authored
Merge pull request #301473 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 799a150 + 1fb1fac commit f3966e4

File tree

2 files changed

+34
-18
lines changed

2 files changed

+34
-18
lines changed

articles/api-management/validate-client-certificate-policy.md

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ For more information about custom CA certificates and certificate authorities, s
5454

5555
| Name | Description | Required | Default |
5656
| ------------------------------- | -----------------| -------- | ----------- |
57-
| validate-revocation | Boolean. Specifies whether certificate is validated against online revocation list. Policy expressions aren't allowed. | No | `true` |
58-
| validate-trust| Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. Policy expressions aren't allowed. | No | `true` |
59-
| validate-not-before | Boolean. Validates value against current time. Policy expressions aren't allowed.| No| `true` |
60-
| validate-not-after | Boolean. Validates value against current time. Policy expressions aren't allowed.| No| `true`|
61-
| ignore-error | Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. Policy expressions aren't allowed. | No | `false` |
57+
| validate-revocation | Boolean. Specifies whether certificate is validated against online revocation list. Policy expressions aren't allowed. | No | `true` |
58+
| validate-trust| Boolean. Specifies if validation should fail in case chain cannot be successfully built up to trusted CA. Policy expressions aren't allowed. | No | `true` |
59+
| validate-not-before | Boolean. Validates value against current time. Policy expressions aren't allowed.| No| `true` |
60+
| validate-not-after | Boolean. Validates value against current time. Policy expressions aren't allowed.| No| `true`|
61+
| ignore-error | Boolean. Specifies if policy should proceed to the next handler or jump to on-error upon failed validation. Policy expressions aren't allowed. | No | `false` |
6262

6363
## Elements
6464

@@ -70,27 +70,24 @@ For more information about custom CA certificates and certificate authorities, s
7070

7171
| Name | Description | Required | Default |
7272
| ------------------------------- | -----------------| -------- | ----------- |
73-
| thumbprint | Certificate thumbprint. | No | N/A |
73+
| thumbprint | Certificate SHA-1 thumbprint. | No | N/A |
7474
| serial-number | Certificate serial number. | No | N/A |
7575
| common-name | Certificate common name (part of Subject string). | No | N/A |
7676
| subject | Subject string. Must follow format of Distinguished Name, which consists of comma-separated name attributes, for example, *"CN=MyName, OU=MyOrgUnit, C=US..."*.| No | N/A |
7777
| dns-name | Value of dnsName entry inside Subject Alternative Name claim. | No | N/A |
78-
| issuer-subject | Issuer's subject. Must follow format of Distinguished Name, which consists of comma-separated name attributes, for example, *"CN=MyName, OU=MyOrgUnit, C=US..."*. | No | N/A |
79-
| issuer-thumbprint | Issuer thumbprint. | No | N/A |
80-
| issuer-certificate-id | Identifier of existing certificate entity representing the issuer's public key. Mutually exclusive with other issuer attributes. | No | N/A |
78+
| issuer-subject | Issuer's subject. Must follow format of Distinguished Name. | No | N/A |
79+
| issuer-thumbprint | Issuer SHA-1 thumbprint. | No | N/A |
80+
| issuer-certificate-id | Identifier of existing certificate entity representing the issuer's public key. Mutually exclusive with other issuer attributes. | No | N/A |
81+
8182

8283
## Usage
8384

8485
- [**Policy sections:**](./api-management-howto-policies.md#understanding-policy-configuration) inbound
8586
- [**Policy scopes:**](./api-management-howto-policies.md#scopes) global, workspace, product, API, operation
8687
- [**Gateways:**](api-management-gateways-overview.md) classic, v2, consumption, self-hosted, workspace
8788

89+
## Examples
8890

89-
### Usage notes
90-
91-
* You must use double quotes to enclose values of name attributes in the `subject` and `issuer-subject` attributes when they contain certain special characters such as ",". For example, specify `O="Contoso, Inc."` instead of `O=Contoso, Inc.` for the organization name. [Learn more](/windows/win32/api/wincrypt/nf-wincrypt-certnametostra#remarks)
92-
93-
## Example
9491

9592
The following example validates a client certificate to match the policy's default validation rules and checks whether the subject and issuer name match specified values.
9693

@@ -109,6 +106,25 @@ The following example validates a client certificate to match the policy's defau
109106
</validate-client-certificate>
110107
```
111108

109+
The following example performs a stricter validation by cheking whether the subject thumbprint and the issuer thumbprint match specified values.
110+
111+
```xml
112+
<validate-client-certificate
113+
validate-revocation="true"
114+
validate-trust="true"
115+
validate-not-before="true"
116+
validate-not-after="true"
117+
ignore-error="false">
118+
<identities>
119+
<identity
120+
thumbprint="AA11BB22CC33DD44EE55FF66AA77BB88CC99DD00"
121+
issuer-thumbprint="BB22CC33DD44EE55FF66AA77BB88CC99DD00EE11" />
122+
</identities>
123+
</validate-client-certificate>
124+
```
125+
126+
127+
112128
## Related policies
113129

114130
* [Authentication and authorization](api-management-policies.md#authentication-and-authorization)

articles/virtual-network/virtual-network-optimize-network-bandwidth.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ For all other Windows VMs, using Receive Side Scaling (RSS) can reach higher max
4747

4848
## Linux virtual machines
4949

50-
RSS is always enabled by default in an Azure Linux Virtual Machine (VM). Linux kernels released since October 2017 include new network optimizations options that enable a Linux VM to achieve higher network throughput.
50+
RSS is always enabled by default in a Linux Virtual Machine (VM) in Azure. Linux kernels released since October 2017 include new network optimizations options that enable a Linux VM to achieve higher network throughput.
5151

5252
### Enable Azure Accelerated Networking for optimal throughput
5353

5454
Azure provides accelerated networking which can really improve network performance, latency, jitter. There are currently two different technologies that are used depending on the virtual machine size, [Mellanox](/azure/virtual-network/accelerated-networking-how-it-works) which is wide available and [MANA](/azure/virtual-network/accelerated-networking-mana-overview) which is developed by Microsoft.
5555

56-
### Azure Linux Tuned Kernels
56+
### Azure Tuned Kernels
5757

5858
Some distributions such as Ubuntu (Canonical) and SUSE have [Azure tuned kernels](/azure/virtual-machines/linux/endorsed-distros#azure-tuned-kernels).
5959

@@ -70,9 +70,9 @@ uname -r
7070

7171
Most modern distributions have significant improvements with newer kernels. Check the current kernel version to make sure that you're running a kernel that is newer than 4.19, which includes some great improvements in networking, for example support for the *BBR Congestion-Based Congestion Control*.
7272

73-
## Achieving consistent transfer speeds in Azure Linux VMs
73+
## Achieving consistent transfer speeds in Linux VMs in Azure
7474

75-
Azure Linux VMs often experience network performance issues, particularly when transferring large files (1 GB to 50 GB) between regions, such as West Europe and West US. These issues are caused by older kernel versions as well as, default kernel configurations, default network buffer settings and default congestion control algorithms, which result in delayed packets, limited throughput, and inefficient resource usage.
75+
Linux VMs often experience network performance issues, particularly when transferring large files (1 GB to 50 GB) between regions, such as West Europe and West US. These issues are caused by older kernel versions as well as, default kernel configurations, default network buffer settings and default congestion control algorithms, which result in delayed packets, limited throughput, and inefficient resource usage.
7676

7777
To get consistent network performance, consider implementing the following optimizations that are proven effective in many situations on Azure:
7878

0 commit comments

Comments
 (0)