Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7...

38
Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-1 Module 7 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service Contents: Lesson 1: Installing and Configuring a Network Policy Server 7-3 Lesson 2: Configuring RADIUS Clients and Servers 7-9 Lesson 3: NPS Authentication Methods 7-16 Lesson 4: Monitoring and Troubleshooting a Network Policy Server 7-22 Lab: Configuring and Managing Network Policy Server 7-27

Transcript of Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7...

Page 1: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-1

Module 7 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Contents: Lesson 1: Installing and Configuring a Network Policy Server 7-3

Lesson 2: Configuring RADIUS Clients and Servers 7-9

Lesson 3: NPS Authentication Methods 7-16

Lesson 4: Monitoring and Troubleshooting a Network Policy Server 7-22

Lab: Configuring and Managing Network Policy Server 7-27

Page 2: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-2 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Module Overview

This module explains how to install, configure, and troubleshoot the Network Policy Server Role Service. Network Policy Server (NPS) is the Microsoft implementation of a Remote Authentication Dial-in User Service (RADIUS) server and proxy in Windows Server® 2008. NPS is the replacement for Internet Authentication Service (IAS) in Windows Server 2003.

Page 3: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-3

Lesson 1 Installing and Configuring a Network Policy Server

NPS allows you to configure and manage network policies centrally with the following three features: RADIUS server, RADIUS proxy, and NAP policy server.

Page 4: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-4 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

What is a Network Policy Server?

NPS allows you to create and enforce organization-wide network access policies for client health, connection request authentication, and connection request authorization. You also can use NPS as a RADIUS proxy to forward connection requests to NPS or other RADIUS servers that you configure in remote RADIUS server groups.

Additional Reading • Network Policy Server Help: Network Policy Server

Page 5: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-5

Network Policy Usage Scenarios

You can use NPS in Windows Server 2008 as either a RADIUS server or proxy.

• As a RADIUS server, NPS performs centralized connection authentication, authorization, and accounting for many types of network access, including wireless, authenticating switch, dial-up and VPN remote access, and router-to-router connections.

• As a RADIUS proxy, NPS forwards authentication and accounting messages to other RADIUS servers.

Additional Reading • Network Policy Server Help: Network Policy Server Overview

Page 6: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-6 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Demonstration: How to Install the Network Policy Server

Page 7: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-7

Tools Used for Managing a Network Policy Server

The following tools enable you to manage the Network Policy and Access Services server role:

• NPS MMC snap-in. Use the NPS MMC to configure a RADIUS server, RADIUS proxy, or NAP technology.

• Netsh commands for NPS. The netsh commands for NPS provide a command set that is fully equivalent to all configuration settings that are available through the NPS MMC snap-in.

Additional Reading • Network Policy Server Help: Network Policy Server Overview

Page 8: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-8 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Demonstration: Configuring General NPS Settings

Page 9: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-9

Lesson 2 Configuring RADIUS Clients and Servers

RADIUS is an industry-standard protocol described in RFC 2865, “Remote Authentication Dial-in User Service (RADIUS),” and RFC 2866, “RADIUS Accounting.” RADIUS provides network authentication, authorization, and accounting services.

The following components are part of the RADIUS authentication, authorization, and accounting infrastructure:

• Access clients

• Access servers (RADIUS clients)

• RADIUS proxies

• RADIUS servers

• User account databases

Page 10: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-10 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

What is a RADIUS Client?

A network access server (NAS) is a device that provides some level of access to a larger network. A NAS using a RADIUS infrastructure also is a RADIUS client, sending connection requests and accounting messages to a RADIUS server for authentication, authorization, and accounting.

Additional Reading • Network Policy Server Help: RADIUS Clients

Page 11: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-11

What is a RADIUS Proxy?

You can use NPS as a RADIUS proxy to route RADIUS messages between RADIUS clients (access servers) and RADIUS servers that perform user authentication, authorization, and accounting for the connection attempt.

When you use NPS as a RADIUS proxy, NPS is a central switching or routing point through which RADIUS access and accounting messages flow. NPS records information in an accounting log about forwarded messages.

Additional Reading • Network Policy Server Help: RADIUS Proxy

Page 12: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-12 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Demonstration: Configuring a RADIUS Client

Page 13: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-13

Configuring Connection Request Processing

Connection request policies are sets of conditions and settings that allow network administrators to designate which RADIUS servers perform authentication and authorization of connection requests that the NPS server receives from RADIUS clients.

The default connection-request policy uses NPS as a RADIUS server and processes all authentication requests locally.

Additional Reading • Network Policy Server Help: Configure NPS UDP Port information

Page 14: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-14 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

What is a Connection Request Policy?

Connection request policies are sets of conditions and settings that allow network administrators to designate which RADIUS servers perform authentication and authorization of connection requests that the NPS server receives from RADIUS clients. You can configure connection request policies to designate which RADIUS servers to use for RADIUS accounting.

Additional Reading • Network Policy Server Help: Connection Request Policies

Page 15: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-15

Demonstration: Creating a New Connection Request Policy

Page 16: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-16 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Lesson 3 NPS Authentication Methods

When users attempt to connect to your network through network access servers (also called RADIUS clients), such as wireless access points, 802.1X authenticating switches, dial-up servers, and VPN servers, NPS authenticates and authorizes the connection request before allowing or denying access.

Because authentication is the process of verifying the identity of the user or computer attempting to connect to the network, NPS must receive proof of identity from the user or computer in the form of credentials.

Page 17: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-17

Password-Based Authentication Methods

Each authentication method has advantages and disadvantages in terms of security, usability, and breadth of support. However, password-based authentication methods do not provide strong security and we do not recommend their use. We recommend that you use a certificate-based authentication method for all network access methods that support certificate use. This is especially true for wireless connections, for which we recommend the use of PEAP-MS-CHAP v2 or PEAP-TLS.

Additional Reading • Help Topic: Password-Based Authentication Methods

Page 18: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-18 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Using Certificates for Authentication

Certificates are digital documents that certification authorities (CAs) issue, such as Active Directory Certificate Services (AD CS) or the Verisign public CA. You can use certificates for many purposes, such as code signing and securing e-mail communication. However, with NPS, you use certificates for network access authentication because they provide strong security for authenticating users and computers, and eliminate the need for less secure, password-based authentication methods.

Additional Reading • Help Topic: Certificates and NPS

Page 19: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-19

Required Certificates for NPS Authentication Methods

The following table details the certificates that are required to successfully deploy each of the listed certificate-based authentication methods.

Certificate Required for EAP-TLS and PEAP-TLS?

Required for PEAP-MS-CHAP v2?

CA certificate in the Trusted Root Certification Authorities certificate store for the Local Computer and Current User

Yes Yes

Client computer certificate in the certificate store of the client

Yes No

Server certificate in the certificate store of the NPS server

Yes Yes

User certificate on a smart card No No

Page 20: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-20 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Additional Reading • Help Topic: Certificate Requirements for PEAP and EAP

• Help Topic: Certificates and NPS

Page 21: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-21

Deploying Certificates for PEAP and EAP

All certificates that you use for network access authentication with EAP-TLS and PEAP must meet the requirements for X.509 certificates and work for connections that use Secure Sockets Layer-Transport Level Security (SSL/TLS). After this minimum requirement is met, both client and server certificates have additional requirements.

Additional Reading • Help Topic: Certificates and NPS

• Help Topic: EAP and NPS

• Help Topic: PEAP and NPS

Page 22: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-22 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Lesson 4 Monitoring and Troubleshooting a Network Policy Server

You can monitor NPS by configuring and using logging for events and user authentication and accounting requests. Event logging enables you to record NPS events in the system and security event logs. You can use request logging for connection analysis and billing purposes. The information that the log files collect is useful for troubleshooting connection attempts and for security investigation.

Page 23: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-23

Methods Used to Monitor NPS

There are two types of accounting, or logging, that you can use to monitor NPS:

• Event logging for NPS. You can use event logging to record NPS events in the system and security event logs. You use this primarily for auditing and troubleshooting connection attempts.

• Logging user authentication and accounting requests. You can log user authentication and accounting requests to log files in text format or database format, or you can log to a stored procedure in a SQL Server 2000 database. Use request logging primarily for connection analysis and billing purposes, and as a security investigation tool, as it enables you to identify an attacker’s activity.

Additional Reading • Help Topic: NPS Best Practices

Page 24: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-24 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Configuring Log File Properties

You can configure NPS to perform RADIUS accounting for user authentication requests, Access-Accept messages, Access-Reject messages, accounting requests and responses, and periodic status updates.

Additional Reading • Help Topic: Configure Log File Properties

• Help Topic: NPS Best Practices

Page 25: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-25

Configure SQL Server Logging

You can configure NPS to perform RADIUS accounting for user authentication requests, Access-Accept messages, Access-Reject messages, accounting requests and responses, and periodic status updates. You can use this procedure to configure logging properties and the connection to the server -- running SQL Server -- that stores your accounting data. The SQL Server database can be on the local computer or on a remote server.

Additional Reading • Help Topic: Configure SQL Logging in NPS

Page 26: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-26 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Configuring NPS Events to Record in the Event Viewer

You can configure NPS event logging to record connection-request failure and success events in the Event Viewer system log.

Additional Reading • Help Topic: NPS Events and Event Viewer

• Help Topic: Configure NPS Event Logging

Page 27: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-27

Lab: Configuring and Managing Network Policy Server

Objectives: After completing this lab, you will be able to:

• Install the Network Policy Server role service and configure Network Policy Server settings

• Configure a RADIUS client

• Configure certificate auto-enrollment

Page 28: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-28 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Scenario Woodgrove Bank is expanding its remote-access solution to all its branch office employees. This will require multiple Routing and Remote Access servers located at different points to provide connectivity for its employees. You will use RADIUS to centralize authentication and accounting for the remote-access solution.

The Windows Infrastructure Services Technology Specialist has been tasked with installing and configuring Network Policy Server into an existing infrastructure to be used for NAP, Wireless and Wired access, RADIUS, and RADIUS Proxy.

Lab Setup For this lab, you will use the available virtual machine environment. Before you begin the lab, you must:

1. Start the NYC-DC1 and NYC-SVR1 virtual machines.

2. Log on to the NYC-SVR1 and NYC-DC1 virtual machines with the user name administrator and the password Pa$$w0rd.

3. Close the Initial Configuration Tasks window that appears after you log on.

4. Close the Server Manager window.

Page 29: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-29

Exercise 1: Installing and Configuring the Network Policy Server Role Service

Exercise Overview In this exercise, you will install and configure the Network Policy Server role.

The main tasks are as follows:

1. Ensure that you have completed the steps in the Lab Setup.

2. Open the Server Manager tool on 6421A-NYC-DC1.

3. Install the Network Policy and Access Services role.

4. Register NPS in Active Directory.

5. Configure 6421A-NYC-DC1 to be a RADIUS server for dial-up or VPN connections.

Task 1: Ensure that you have completed the steps in the Lab Setup • Review the Lab Setup section and ensure you have completed the steps before

you continue with this lab.

Task 2: Open the Server Manager tool on 6421A-NYC-DC1 • On 6421A-NYC-DC1, open Server Manager from the Administrative Tools

menu.

Task 3: Install the Network Policy and Access Services role 1. In the Server Manager list pane, right-click Roles and then click Add Roles.

2. Install the Network Policy Server role service from the Network Policy and Access Services role.

3. On the Installation Results page, verify Installation succeeded appears in the details pane and then click Close.

The Network Policy Server role is installed on 6421A-NYC-DC1.

4. Do not log off or shut down the virtual PCs at this point.

Page 30: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-30 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Task 4: Register NPS in Active Directory 1. Open Network Policy Server from the Administrative Tools menu.

2. Using the NPS tool, register NPS in Active Directory.

The Network Policy server is registered in Active Directory.

Task 5: Configure 6421A-NYC-DC1 to be a RADIUS server for dial-up or VPN connections 1. In the Network Policy Server management tool list pane, click NPS (Local).

2. In the details pane under Standard Configuration, click RADIUS server for Dial-Up or VPN Connections.

3. Under Radius server for Dial-Up or VPN Connections, click Configure VPN or Dial-Up and specify Virtual Private Network (VPN) Connections, and accept the default name.

4. In the RADIUS clients dialog box, add NYC-SVR1 as a RADIUS client with an address of 10.10.0.24.

5. In the New RADIUS Client dialog box, specify and confirm the shared secret of Pa$$w0rd and then click OK.

6. In the Specify Dial-Up or VPN Server dialog box, accept the default setting.

7. In the Configure Authentication Methods dialog box, select Extensible Authentication Protocol and MS-CHAPv2.

8. On the Specify User Groups page, accept the default settings.

9. On the Specify IP Filters page, accept the default settings.

10. On the Specify Encryption Settings page, deselect Basic encryption and Strong encryption.

11. On the Specify a Realm Name page, accept the default settings and finish the wizard.

12. Close the Network Policy Server administrative tool.

Page 31: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-31

Exercise 2: Configuring a RADIUS Client

Exercise Overview In this exercise, you will configure 6421A-NYC-SVR1 to host Routing and Remote Access Services and configure 6421A-NYC-SVR1 as a RADIUS client.

The main tasks are as follows:

1. Open the Server Manager tool on 6421A-NYC-SVR1.

2. Install the Routing and Remote Access Services role.

3. Configure 6421A-NYC-SVR1 as a VPN server with a static address pool for Remote Access clients and specify RADIUS authentication and accounting.

Task 1: Open the Server Manager tool on 6421A-NYC-SVR1 • On 6421A-NYC-SVR1, open Server Manager from the Administrative Tools

menu.

Task 2: Install the Routing and Remote Access Services role on 6421A-NYC-SVR1 1. Using Server Manager, install the Network Policy and Access Services role

with the role service of Routing and Remote Access.

2. On the Installation Results page, verify Installation succeeded appears in the details pane, and then click Close.

The Routing and Remote Access Services role is installed on 6421A-NYC-SVR1.

3. Do not log off or shut down the virtual PCs at this point.

Page 32: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-32 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Task 3: Configure 6421A-NYC-SVR1 as a VPN server with a static address pool for Remote Access clients and specify RADIUS authentication and accounting 1. Open the Routing and Remote Access Services administrative tool and click

Configure and Enable Routing and Remote Access.

2. Configure the default Remote Access (dial-up or VPN), and on the Remote Access page, select the VPN option.

3. On the VPN Connection page, select the Local Area Connection 2 interface.

4. On the IP Address Assignment page, select From a specified range of addresses.

5. Use the range of 192.168.1.100 with 75 available addresses for the static pool.

6. On the Managing Multiple Remote Access Servers page, select Yes, set up this server to work with a RADIUS server, and then click Next.

7. Configure the following settings:

• Primary RADIUS server: NYC-DC1

• Shared secret for the RADIUS server: Pa$$w0rd

• Accept the default settings for the remainder of the configuration process

8. Close the Routing and Remote Access Services administrative tool.

Page 33: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-33

Exercise 3: Configuring Certificate Auto-Enrollment

Exercise Overview In this exercise, you will configure Certificate Auto-Enrollment for computers to use advanced authentication.

The main tasks are as follows:

1. Install and configure Certificate Services on NYC-DC1.

2. Open the Group Policy Management tool on 6421A-NYC-DC1 and configure automatic certificate enrollment.

3. Close all virtual machines and delete changes.

Task 1: Install and Configure Certificate services on NYC-DC1 1. On NYC-DC1, start Server Manager from the Administrative Tools menu.

2. Install the Active Directory Certificate Services role using the defaults except for the following:

• CA Name = WoodGroveBank-CA

3. On the Installation Results page, click Close.

4. From the Administrative Tools menu, open the Certification Authority management tool.

5. Right-click Certificate Templates, and then select Manage from the context menu.

6. Change the security on the Computer template to allow Authenticated Users the Enroll permission.

7. Close the Certificate Template and certsrv management consoles.

Page 34: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-34 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Task 2: Open the Group Policy Management tool on 6421A-NYC-DC1 and configure automatic certificate enrollment 1. On 6421A-NYC-DC1, open Group Policy Management from the

Administrative Tools menu.

2. In the Group Policy Management tool, expand Forest: WoodgroveBank.com, expand Domains and expand WoodgroveBank.com.

3. Right-click Default Domain Policy, and then click Edit.

4. Expand Computer Configuration, expand Window Settings, expand Security Settings, and then expand Public Key Policies.

5. Right-click Automatic Certificate Request Settings, click New and then click Automatic Certificate Request.

6. Accept the default settings throughout the wizard.

7. Close the Group Policy Management Editor.

8. Close the Group Policy Management tool.

Automatic certificate enrollment now is configured for the WoodgroveBank domain’s computers.

9. Start 6421A-NYC-CL1 and log on as Administrator with the password of Pa$$w0rd.

10. Create a new MMC console with the Certificates snap-in. Focus the snap-in to the Computer Account.

11. In the MMC console, verify that the computer account has enrolled the certificate from WoodGroveBank-CA.

Task 3: Close all virtual machines and discard undo disks 1. On the host computer, click Start, point to All Programs, point to Microsoft

Virtual Server, and then click Virtual Server Administration Website.

2. Under Navigation, click Master Status. For each virtual machine that is running, click the virtual machine name, and in the context menu, click Turn off Virtual Machine and Discard Undo Disks. Click OK.

Page 35: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-35

Module Review and Takeaways

Review Questions 1. Why must you register the NPS server in Active Directory?

2. How can you make the most effective use of the NPS logging features?

3. What are the default authentication and accounting ports for RADIUS? What is the procedure for configuring NPS UDP port information using the Windows interface?

4. What other considerations are there if you choose to use a nonstandard port assignment for RADIUS traffic?

Page 36: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

7-36 Installing, Configuring, and Troubleshooting the Network Policy Server Role Service

Best Practices Perform the following tasks before installing NPS:

• Install and test each of your network access servers using local authentication methods before you make them RADIUS clients.

• After you install and configure NPS, save the configuration with the netsh nps show config > path\file.txt command. Save the NPS configuration with the netsh nps show config > path\file.txt command each time a change is made.

• Do not install Windows Server 2008, Windows Server 2003 Standard Edition, Windows Server 2003 Enterprise Edition, or Windows Server 2003 Datacenter Edition on the same partition as Windows 2000 Server.

• Do not configure a server running NPS or Routing and Remote Access as a member of a Windows NT Server 4.0 domain if your user accounts database is stored on a Windows Server 2008 or Windows Server 2003 domain controller in another domain.

Security Issues We recommend two methods for remote administration of NPS servers:

• Use Terminal Services to access the NPS server (remote desktop).

• Use Internet Protocol security (IPSEC) to encrypt confidential data.

Page 37: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes

Installing, Configuring, and Troubleshooting the Network Policy Server Role Service 7-37

Tools The following describes the tools that you can use to configure, manage, monitor and troubleshoot NPS.

Tool Use For Where to find it

Network Policy Server

Managing and creating Network Policy

Network Policy Server on the Administrative Tools menu

Netsh command-line tool

Creating administrative scripts for configuring and managing the Network Policy Server role

From a command window, type netsh nps to administer from a command environment

Event Viewer Viewing logged information from application, system, and security events

Event Viewer on the Administrative Tools menu

Page 38: Module 7 - Hoàng Đình Hạnh · PDF file12/7/2009 · Module 7 Installing, ... Lesson 4: Monitoring and ... switches, dial-up servers, and VPN servers, NPS authenticates and authorizes