Skip to content

Commit 6131158

Browse files
committed
add note on wrangler version
1 parent 2eb045c commit 6131158

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/docs/hyperdrive/configuration/tls-ssl-certificates-for-hyperdrive.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Hyperdrive can be configured to use only server certificates, only client certif
1818

1919
:::note
2020

21-
Support for server certificates and client certificates is not available for MySQL (beta).
21+
Support for server certificates and client certificates is not available for MySQL (beta). Support for server certificates and client certificates is only available for local development using `npx wrangler dev --remote` which runs your Workers and Hyperdrive in Cloudflare's network with local debugging.
2222

2323
:::
2424

@@ -46,6 +46,7 @@ has been used to sign the certificate of your database.
4646
Using Wrangler, you can upload your root certificate authority (CA) certificate:
4747

4848
```bash
49+
# requires Wrangler 4.7.0 or greater
4950
npx wrangler cert upload certificate-authority --ca-cert \<ROUTE_TO_CA_PEM_FILE\>.pem --name \<CUSTOM_NAME_FOR_CA_CERT\>
5051

5152
---
@@ -110,6 +111,7 @@ file (`client-cert.pem`) and a private key with which the certificate was genera
110111
Upload your client certificates to be used by Hyperdrive using Wrangler:
111112

112113
```bash
114+
# requires Wrangler 4.7.0 or greater
113115
npx wrangler cert upload mtls-certificate --cert client-cert.pem --key client-key.pem --name <CUSTOM_NAME_FOR_CLIENT_CERTIFICATE>
114116

115117
---

0 commit comments

Comments
 (0)