Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Azure IdP統合による証明書ベース(EAP-TLS)認証の設定

以下の手順に従って、Microsoft Entra IDにJunniper Mist™組織を登録し、ジュニパー MistにIDプロバイダーを追加し、ユーザーグループの認証ポリシーを作成します。

外部のIDプロバイダ(IdP)を統合することで、拡張認証プロトコル-トランスポート層セキュリティ(EAP-TLS)の認証プロセスを拡張できます。この統合により、IdPがEAP-TLS認証交換を検証し、信頼できるユーザーのみがネットワークにアクセスできるようにします。EAP-TLS認証を備えたIdP統合による追加検証を導入することで、ネットワークアクセス制御(NAC)の堅牢性を高めることができます。

ジュニパー Mist™では、OAuthを使用して、Microsoft Azure Active Directory(AD)(現在はMicrosoft Entra IDとして知られています)をIDプロバイダとして統合できます。この統合により、Azure ADをMist Access Assuranceと組み合わせてIDプロバイダとして活用し、以下を実行できます。

  • OAuth経由でユーザー名とパスワードのチェックを委任認証することにより、EAP-TTLS経由でユーザーを認証します。
  • ユーザーグループメンバーシップを取得して、認証ポリシーで活用します。
  • ユーザーアカウントの状態情報(アクティブ/サスペンディング)を取得します。
  • EAP-TLSまたはEAP-TTLSを介してユーザーを承認します。

Azure ADは、ジュニパー Mist Access Assuranceで認証ポリシーを微調整するために使用できる以下の詳細を返します。

  • グループメンバーシップ: ユーザーが属するグループに関する情報は、ユーザーの役割とアクセス許可に関する分析情報を提供します。

  • アカウントの検証:アカウントのステータスは、ジュニパー Mist Access Assuranceが有効なアクティブユーザーのみにネットワークアクセスを許可するために不可欠です。

  • 追加のユーザーコンテキスト: ユーザーに関する追加情報を収集することで、ユーザーのプロファイルをより深く理解できるようになります。IDプロバイダールックアップを設定すると、システムは設定されたIDプロバイダーにAPIリクエストを送信し、認証されたユーザーの追加のコンテキストを取得します。

概要

このタスクでは、証明書を評価するときに、特定のドメイン名に関連付けられている共通名 (CN) の Azure AD を検索する方法について説明します。Azure AD ルックアップの結果は、認証ポリシーを定義するために使用するユーザーに関する追加情報をフェッチします。このタスクは、無線ネットワークに適用できます。

このタスクの前提条件として、EAP-TLS認証を設定する必要があります。詳細については、「 証明書ベース(EAP-TLS)認証の設定 」を参照してください。

この例では、以下を行います。

  1. Azure portal で新しいアプリケーションを作成して、Azure AD を IdP として使用します。
  2. Azure AD を IdP として統合し、登録済みアプリケーションに対して Microsoft Graph で API アクセス許可を付与します。
  3. ジュニパー Mistポータルにログインしているユーザーに関する詳細を取得します。
  4. IdPが取得するログインしているユーザーに関する追加の詳細で、認証ポリシーをさらに絞り込みます。

OktaをIdPとして使用して認証を作成するには、次のビデオをご覧ください。

Create the authentication policies with Mist Access Assurance considering the same exact scenario with TLS users authenticating using certificates and TLS users authenticating using credentials. The first thing that we will do is we will import the root CA certificate so we can trust the certificates on our client signed by that CA. So we'll go to organization > access certificates and I'll click on add certificate authority.

I will go to my folder where I have all the pre-configured items ready. I'm going to copy my root CA cert, import it in here. It's the same cert we used with the other two vendors. It's now imported, it's decoded, we're good to go and good to proceed. We'll then go to organization authentication policies. Actually we go to identity providers first.

We need to configure an identity provider in here and unlike with ClearPass and ICE, we don't need to have a local AD on-prem. We would actually be able to talk to Okta as our identity provider to fetch the user group information to authenticate users and provide them with network access. So I will click on add IDP.

I will select this connector type as auth since we will use native API connector to talk to Okta. I will open my setup instructions since my Okta app has been pre-created. Same as AD for other providers so I'm going to take tenants. I'm going to select the auth type as Okta, paste the tenant ID. I'll take the client ID, paste it in here. I'll take the private key so we can authenticate ourselves to Okta.

Add it right there and finally I'll configure the ROPC API ID for TTLS authentication and it's secret. The last thing I will do is I will configure the domain name. So the domain name would actually tell us based on the user realm like when the user signs in as user at like in this case lab.mystify.com. We'll take that domain based on the domain. We'll talk to a respective IDP in our configuration so just give it a name called Okta. Click create. We have our IDP configured now.

The last step is to go to access authentication policies and create the two policies that we need based on our requirements. First, we will create a rule for certificate authentication. What we'll then do is in the match criteria on the left hand side we will use labels to match in certain conditions.

In our case, we need to match on wireless users that are using certificates or TTLS to authenticate and we also need it to match on the group employee that we will take from IDP. But as you can see by default we are not having any label associated with the group so what we can do is we can create a label right from that same place. We'll call it employee group.

We will select label type as directory attribute and the label value will be group and the actual value will be employee. Click create. We can now select this label on the left hand side. It shows up here as the directory attribute. Now we are matching on all these three conditions. Then on the right hand side we are deciding what we want to do with these types of users. By default we will allow access to the network but we also want to assign VLAN 750 and role corp. Again we need to create labels for that. So we'll go and create first corp VLAN label.

The label type will be AAA attribute and the value would be VLAN. I'll configure it as 750. I'll then create corp role attribute and I'll just configure it as corp. And then I'm going to create also labels for BYD VLAN and BYD role. So 751 and finally BYD role. Good to go.

So we can select corp VLAN and corp role. Now we'll create one more rule for our users that are doing TTLS based authentication. So we'll call it credential authentication and we'll match on wireless users that are doing TTLS and that they're also part of the same employee group.

And on the right hand side we'll assign them BYD VLAN and BYD role. At this point we can hit save and our authentication policy setup is done. The last thing is to create the actual WLAN template. So I'm going to go to WLAN templates. I'm going to create a new one. I'm going to call it MIST 802.1X. I'm going to click create.

Add a WLAN. Select security as 802.1X. And in this case we don't need to configure radio servers one by one. We don't need to add APs as radio clients. None of that is required. We'll just go and select MIST authentication as our authentication service. That's it. We'll then just go on and configure dynamic VLANs. It's the same two VLANs that we will be sending. So 750.751. Click create and just assign this template to the org.

Click save. At this point we should be able to test with our client devices. We have one laptop that's connected using a certificate. It got the role corp. We have a mobile device that connected using TTLS using username and password and got the role BYD. And now let's take a look deeper and look at the client insights.

What can we see with MIST access assurance here? So what you could see is in addition to the all the client events that are coming from the access point and that are showing the user experience, from the network perspective, you also see all the events coming from the NAC side of things as the client goes through the authentication and authorization process. So, first event is, okay, we're seeing the client certificate. We are grabbing all the metadata about the user certificate.

We see that the client trusted our server cert that's provided by the MIST authentication service. We'll then did a IDP lookup against Okta. And we got all the user group information from Okta. So we know now this user is part of all these user groups. And we see one of these groups is actually employee, which we needed to match on. And finally, when we look at the NAC client allowed access event, we're saying, okay, this client is good to go. It's allowed in the network. This is the VLAN that we are assigning from a NAC perspective. This is the user role that we are assigning from the NAC perspective.

And this is the authentication rule that hit during that process. So if we click on that link, it will actually go and highlight, this is the rule that this particular user hit during the auth process, right? Similarly, if we look at the mobile device, if we look at the client insights, we're now seeing that in this case, client trusted the service certificate, but instead of showing the client certificate, it actually did the IDP authentication using username and password credentials against Okta. Finally, we got the user role and group information from Okta.

And we've allowed client to access the network, assign a different VLAN 751 and different user group. But in this case, we are hitting a different authentication rule in our policy. So again, if we click on it, we're saying that particular user went through a different role.

無線ネットワーク用の証明書ベース(EAP-TLS)認証の設定

  1. Microsoft Azure portal で、Azure AD に IdP コネクターを設定します。
    1. 資格情報を使用して Azure portal にサインインし、Azure AD に移動します。
    2. 左側のナビゲーション バーから、 [ アプリの登録] を選択します。
      図1:新規アプリケーション登録Juniper Networks Azure Active Directory App registrations interface with navigation pane, notification on ADAL deprecation, and options to manage applications.
      アプリケーションをすでに登録している場合は、[ 所有アプリケーション ] タブに移動します。アプリケーション名をクリックすると、クライアントID、テナントID、クライアントシークレットなどの詳細が表示されます。
      Azure portal に新しいアプリケーションを登録する場合は、 [ 新しい登録 ] タブをクリックします。
      新規登録ページで、以下のフィールドに必要な情報を入力します。以下のリストの「名前」フィールドには、サンプルのユーザー入力が表示されています。
      • 名前—入力 Mist AA IDP connector
      • サポートされているアカウントタイプ— この組織ディレクトリ内のアカウントのみを選択します。
    3. 登録をクリックして続行します。
      図 2 に示すように、新しく作成されたコネクタに関する情報を表示するページが表示されます。
      図2:新しいアプリケーションの詳細Azure Active Directory App Registration interface showing details for Mist AA - IDP Connector including client ID, tenant ID, account types, navigation options, success and informational messages.
    4. ジュニパー MistポータルでIdPコネクタを設定する際に必要となる、以下の詳細をメモしておきます。
      • アプリケーション(クライアント)ID— この情報をOAuthクライアント資格情報(CC)クライアントID フィールドとリソース 所有者パスワード資格情報クライアントID フィールドに入力する必要があります。
      • ディレクトリ(テナント)ID— OAuthテナントID フィールドにこの情報が必要です。
    5. 左側のナビゲーション バーで、[ 証明書とシークレット]> [新しいクライアント シークレット] を選択します。
      以下の詳細を入力し、 追加をクリックします。
      • 名前
      • 有効期限
      図3に示すように、値とシークレットIDが生成されます。
      図3:クライアントシークレットの詳細Client secrets tab showing a table with columns for description, expiration date, partially blurred value, and secret ID, with an option to create a new secret.

      [値] フィールドの情報をメモします。この情報は、Azure ADをIdPとして追加する際に、ジュニパーMistポータルの [OAuthクライアント資格情報]クライアントシークレット フィールドに必要です。

  2. Azure AD アプリケーションに委任のアクセス許可とアプリケーションのアクセス許可を付与します。これらの権限を持つと、アプリケーションはユーザー、グループ、ディレクトリ情報を読み取ることができます。
    1. 登録済みアプリケーションの Azure portal ページの左側のナビゲーション バーで、 [API アクセス許可] > [アクセス許可の追加] を選択します。
      Microsoft Graph API を使用してユーザーに関する情報を取得するために必要なアクセス許可をアプリケーションに付与する必要があります。
    2. [アクセス許可の追加] ページの [Microsoft Graph] で、[ 委任されたアクセス許可 ] タブと [アプリケーションのアクセス許可 ] タブに次のアクセス許可を追加します。
        • ディレクトリ.Read.All
        • グループ.Read.All
        • User.Read
        • User.Read.All

      図4に示すように、[ADの管理者の同意を付与]をクリックします。

      図4:アプリケーションConfiguration screen for managing permissions in an application, showing Microsoft Graph API permissions like Directory.Read.All and User.Read, their type, description, admin consent status, and current status. Options to grant admin consent and add new permissions are visible.用のAPI権限

      アプリケーションが Azure AD で動作するには、アプリケーションのアクセス許可が必要です。コネクタが認証にユーザー名とパスワードを使用する場合、委任されたアクセス許可は不可欠です。

  3. ジュニパー Mist ポータルで、Azure AD を ID プロバイダーとして追加します。
    1. ジュニパー Mistポータルの左側のメニューから、 組織>アクセス>IDプロバイダーを選択します。
      IDプロバイダーページが表示され、設定されたIdPのリストが表示されます(存在する場合)。
    2. 新しいIdPを追加するには、 IDPを追加 をクリックします。
    3. 新規IDプロバイダーページで、図5に示すように必要な情報を入力します。
      図 5: Azure AD を ID プロバイダーとして追加する Mist dashboard configuration page for setting up a new identity provider Azure AD, showing OAuth setup fields and navigation menu.
      1. 名前—IdP名を入力します(この例ではAzure ADを使用します)
      2. IDPタイプ— OAuthを選択します。
      3. OAuthタイプ—ドロップダウンリストから Azure を選択します。
      4. OAuthテナントID—Azure ADテナントIDを入力します。
      5. ドメイン名—ドメイン名、つまりユーザーのユーザー名を入力します(例:username@domain.com)。ドメイン名フィールドは、受信した認証要求を調べ、それぞれのユーザー名と関連するドメインを識別します。コネクタのドメイン名を設定した後、コネクタは通信する必要がある Azure テナントを識別できます。
      6. OAuthクライアント資格情報(CC) クライアントID—登録済みのAzure ADアプリケーションのクライアントIDを入力します。
      7. OAuthクライアント資格情報(CC) クライアントシークレット—Azure ADアプリケーションシークレット。Azure AD アプリケーション シークレット。Azure portal が IdP コネクタ用に生成したクライアント シークレットの値コンポーネントを入力します。
      8. OAuthリソース所有者パスワード資格情報(ROPC)クライアントID—Azure ADアプリケーションIDを入力します。このIDは、OAuthクライアント資格クライアントIDと同じです。

EAP-TLSを使用してユーザーを認証すると、ジュニパーMistはユーザー名を指定したドメイン名と照合します。ジュニパー Mist は、対応する Azure AD テナントに API リクエストを送信して、そのユーザーの詳細を取得します。

図7 と 図6 は、Azure ADとジュニパー Mistポータルでのユーザーの詳細を示しています。

図 6: Azure AD User management interface showing details for user1 at deaflyz.onmicrosoft.com, created April 28, 2022. Member of three groups: CorpAndroidDevices, Employee, vip-group1. Two assigned licenses, six applications, no assigned roles. Options to edit properties, delete user, reset password, revoke sessions, manage groups.のユーザー詳細

ジュニパー Mist ポータルでは、Azure AD から返されるグループ メンバーシップ情報を確認できます。ジュニパー Mistポータルで、[ > Insights > Client Eventsの監視 ]に移動して情報を確認します。

図7: MistポータルClient Events log showing network access and authentication activities, including DHCP success and NAC client access allowed, linked to MistAA-TestAP access point. Network details include SSID mist-secure-net, authentication type 802.1X, certificate info for user1 at deaflyz.onmicrosoft.com, certificate expiry 2024-05-12T09:04:00Z, IDP Azure AD, roles vip-group1 CorpAndroidDevices Employee, and EAP type EAP-TLS.に関するユーザー詳細ジュニパー

図 7 に示す例では、ユーザーは Employee というグループに属しています。

グループの詳細に基づいて認証ポリシーを作成できます。

グループの詳細に基づいて認証ポリシーを作成する

IdPによって取得されたユーザーグループメンバーシップに基づいて、ディレクトリ属性を持つラベルを使用して、認証ポリシーを作成できます。

認証ポリシーを作成するには:

  1. ジュニパー Mistポータルの左側のメニューから、 組織>アクセス>認証ポリシーを選択します。
  2. 認証ポリシーページでラベルの作成をクリックし、詳細を入力します。
    図8:認証ポリシーのラベル Two forms for creating labels in a user interface. Left form defines Employee Group label as Directory Attribute with value Employee for authentication policy rules. Right form defines Employee Role label as AAA Attribute with value employee for RADIUS attribute policies. Cursor hovers over highlighted Create button on the right form.
    • IdPによって取得されたユーザーグループメンバーシップに基づいて、ラベルタイプがディレクトリ属性の従業員グループを作成します。ラベル値をグループとして選択し、グループ値を従業員として選択します。このラベルをポリシーの一致基準として使用します。
    • ラベルタイプをAAA属性として使用するラベルの従業員ロールを作成します。ラベル値をロールとして選択し、ロール値を従業員として選択します。このラベルを使用してポリシーを割り当てます。
  3. ルールを追加をクリックして、認証ポリシーを作成します。新しいポリシーを追加できる新しい行が挿入されます。
    図9:認証ポリシーUser interface for managing authentication policies with options to add rules, create labels, select match criteria, and assign network access policies like Network Access Allowed or Denied. Includes dropdowns for attributes like Employee Group and VLAN, and Save and Cancel buttons.用のラベルを作成する
    1. ポリシー名を入力します。

    2. 一致基準列の追加アイコン(+)をクリックし、表示されるリストからユーザーラベルを選択します。ディレクトリ属性に基づいて作成したラベル(従業員グループ)を選択します。

    3. [ポリシー] 列でチェック マーク アイコン (✓) をクリックし、次に特定するリソースに対して適用するアクション (許可またはブロック) を選択します。

    4. 割り当てられたポリシー列の(+)をクリックし、割り当てられたポリシーのAAA属性に基づいて作成したラベル(従業員ロール)を選択します。ユーザーは従業員グループの一員であるため、従業員ロールを割り当て、企業VLANに移動できます

  4. 「保存」をクリックします。

    図10 は、完成した認証ポリシーを示しています。

    図10:認証ポリシーConfiguration interface for Auth Policies showing a table of policy rules with match criteria, assigned policies, and actions like Add Rule, Create Label, Save, and Cancel for managing network access control.

WLANテンプレートでの認証ポリシーの作成

WLANテンプレートに認証ポリシーを追加すると、このテンプレートを使用するすべてのWLANに適用されます。まず、ポリシーで参照する必要があるラベルを作成します。次に、テンプレートを編集してポリシーを追加します。

  1. ユーザーのラベルを作成して、これらのラベルをWxLANポリシーで使用できるようにします。
    1. 左側のメニューから、 組織 > 無線 > ラベルを選択します。
      WLANポリシーでは、組織レベルのラベルのみを使用できます。
    2. ポリシーを作成するときにラベルを認識できるように、 ラベル名 を入力します。
    3. 識別するユーザーに対して、適切な ラベルタイプ と ラベル値 を選択します。

      ユーザーのラベルタイプには、AAA属性、アクセスポイント、WiFiクライアント、WLANが含まれます。値は選択したタイプによって異なります。

      次の例では、AAA属性タイプが選択されており、ラベル値はユーザーグループです。システムのユーザーグループに対応するラベルを作成することで、ユーザーグループごとに異なるポリシーを作成できます。
      図11:新しいラベルConfiguration interface for creating a new label with fields for Label Name set to Employee, Label Type as AAA Attribute, and Label Values including User Group dropdown set to employee. Note indicates Requires newer firmware.を作成する
    4. 組織ラベル画面の右上隅にある 作成 をクリックします。
    5. 上記の手順を繰り返して、必要に応じて他のユーザーグループに他のラベルを追加します。
  2. 組織>無線>WLANテンプレートに移動します。
    WLANテンプレートページが表示され、既存のWLANテンプレートのリストが表示されます。
  3. ポリシーを追加するテンプレートをクリックします。
  4. テンプレートの ポリシー セクションで、 ルールの追加をクリックします。
  5. ルールを適用するユーザー、ポリシー、リソースを選択します。
    • ユーザーセクションで、追加アイコン(+)をクリックします。次に、前に作成したユーザーラベルの1つを選択します。

    • ポリシーセクションで、チェックマークアイコン(✓)をクリックします。次に、適用するアクションを許可またはブロックから選択します。

    • リソース列で、追加アイコン(+)をクリックします。次に、前に作成したリソースラベルの1つを選択します。

    Configuration interface for WLAN template mist-secure-net showing details like SSID, bands, VLAN ID 1750, WPA3 EAP security, empty 3rd party tunnels, employee policy blocking Facebook, and action buttons for managing settings.
  6. ポリシーの作成と注文が完了したら、画面上部の 保存をクリックします 。

次のビデオは、Azure AD と統合された証明書ベース (EAP-TLS) 認証を使用する場合に、WLAN テンプレートで認証ポリシーを構成する方法を示しています。

Your rule configured, let's validate. Let's take a look at which policy is now being hit for this particular user. So we went in and did the client certificate check. Let's just refresh those events so we see them. All right, so we went in and client trusted the server cert. We trusted the client cert. We then did an IDP lookup, right? Same thing as your ID. We got the three IDP roles.

Now, let's look at this client access allowed. We got the VLAN 750. We got the user group or role called employee. And now we are actually hitting that different rule now. Because we have this additional context, additional visibility from the IDP, we can now do differentiated access policies for our clients.

Now, what you could do with this employee role - how can you use it on the wireless side? You could go to organization labels. You can create a label AAA attribute. Let's call it "Employee." You'll match on the user group. And what you'll do, you could go to your WLAN template. You can create a network policy now. You can say, OK, if the user is part of this employee role or employee group, we can now decide which resources it can or cannot access on the network. So we can say, OK, let's probably block Facebook for employees and hit Save. This is how you can extend the role that's being supplied by the NAC and then apply it on the AP to do some additional restrictions on which resources the user is able to access.