デバイス登録の権限
デバイス登録の権限は、どのユーザーが組織のCloudflare Zero Trustインスタンスに新しいデバイスを接続できるかを決定します。
- In Zero Trust ↗, go to Settings > WARP Client.
- In Device enrollment permissions, select Manage.
- In the Rules tab, configure one or more Access policies to define who can join their device. For example, you could allow all users with a company email address:
Rule type Selector Value Include Emails ending in @company.com
- In the Authentication tab, select the identity providers users can authenticate with. If you have not integrated an identity provider, you can use the one-time PIN.
- Select Save.
ユーザーは、アイデンティティプロバイダーにログインすることでデバイスを登録できるようになりました。ユーザーが登録後に組織からログアウトするのを防ぐために、WARPクライアント設定でデバイスが組織を離れることを許可を無効にしてください。
ユーザーに認証情報で認証を要求する代わりに、サービストークンを使用して、ユーザーの操作なしでデバイスを登録できます。ユーザーがアイデンティティプロバイダーにログインする必要がないため、アイデンティティベースのポリシーはこれらのデバイスに対して強制できません。
サービストークンを使用してデバイスを登録するには:
-
Copy the token’s Client ID and Client Secret.
-
In your device enrollment permissions, create the following policy:
Rule Action Rule type Selector Value Service Auth Include Service Token <TOKEN-NAME> -
In your MDM deployment parameters, add the following fields:
auth_client_id: The Client ID of your service token.auth_client_secret: The Client Secret of your service token.
When you deploy the WARP client with your MDM provider, WARP will automatically connect the device to your Zero Trust organization.
どのデバイスが登録されたかを確認するには、My Team > Devicesに移動します。サービストークン(または他のService Authポリシー)を使用して登録されたデバイスは、Emailフィールドにnon_identity@<team-name>.cloudflareaccess.comと表示されます。
エンタープライズ顧客は、デバイス登録中に相互TLS認証を強制できます。
To check for an mTLS certificate:
-
Add an mTLS certificate to your account. You can generate a sample certificate using the Cloudflare PKI toolkit.
-
In Associated hostnames, enter your Zero Trust team domain:
<team-name>.cloudflareaccess.com -
In your device enrollment permissions, add a Common Name or Valid Certificate rule. For example, the following policy requires a client certificate with a specific common name:
Action Rule type Selector Value Allow Require Common Name <CERT-COMMON-NAME> -
On your device, add the client certificate to the system keychain.
ユーザーがWARPクライアントからZero Trust組織にログインする際、接続するためには有効なクライアント証明書を提示する必要があります。