Skip to content

Commit 85be97c

Browse files
committed
fix SHA-256 fingerprint
1 parent f37288a commit 85be97c

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/configure-warp/managed-networks.mdx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you do not already have a TLS endpoint on your network, you can set one up as
125125

126126
To create a TLS endpoint using Windows Internet Information Services (IIS) Manager:
127127

128-
1. Open Powershell.
128+
1. Run Powershell as administrator.
129129

130130
2. Generate a self-signed certificate:
131131

@@ -139,10 +139,19 @@ To create a TLS endpoint using Windows Internet Information Services (IIS) Manag
139139
Thumbprint Subject
140140
---------- -------
141141
0660C4FCD15F69C49BD080FEEA4136B3D302B41B CN=office-name.example.internal
142-
143142
```
144143

145-
3. Copy the thumbprint value shown in the output. You will need the thumbprint when you [configure the managed network in Zero Trust](#3-add-managed-network-to-zero-trust).
144+
3. Extract the certificate's SHA-256 fingerprint:
145+
146+
```powershell
147+
[System.BitConverter]::ToString([System.Security.Cryptography.SHA256]::Create().ComputeHash((Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.FriendlyName -eq "Cloudflare Managed Network Certificate" }).RawData)) -replace "-", ""
148+
```
149+
150+
```powershell output
151+
DD4F4806C57A5BBAF1AA5B080F0541DA75DB468D0A1FE731310149500CCD8662
152+
```
153+
154+
You will need the SHA-256 fingerprint to [configure the managed network in Zero Trust](/#3-add-managed-network-to-zero-trust). Do not use the default SHA-1 thumbprint generated by the `New-SelfSignedCertificate` command.
146155

147156
4. Open IIS Manager.
148157

@@ -175,7 +184,9 @@ The WARP client establishes a TLS connection using [Rustls](https://github.com/r
175184

176185
## 2. Extract the SHA-256 fingerprint
177186

178-
<Tabs> <TabItem label="local certificate">
187+
The SHA-256 fingerprint is only required if your TLS endpoint uses a self-signed certificate.
188+
189+
<Tabs> <TabItem label="Local certificate">
179190

180191
To obtain the SHA-256 fingerprint of a local certificate:
181192

@@ -189,7 +200,7 @@ The output will look something like:
189200
SHA256 Fingerprint=DD4F4806C57A5BBAF1AA5B080F0541DA75DB468D0A1FE731310149500CCD8662
190201
```
191202

192-
</TabItem> <TabItem label="remote server">
203+
</TabItem> <TabItem label="Remote server">
193204

194205
To obtain the SHA-256 fingerprint of a remote server:
195206

0 commit comments

Comments
 (0)