Differences between revisions 1 and 29 (spanning 28 versions)
Revision 1 as of 2014-08-14 16:07:22
Size: 1549
Editor: scot
Comment:
Revision 29 as of 2021-10-28 15:49:00
Size: 2970
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Perform the following
Line 3: Line 4:
Perform the following on your Domain Controller and IIS server. This should be on CPTE265A (Your first Windows Server) and CPTE265B (Your Member Server).  1. Install a AD Certificate server on CPTE230A.
    1. I used all defaults for my AD Certificate server as a Enterprise Root CA.
 1. Install IIS with an X.508 certificate for your default site on CPTE230A
    1. Install IIS 10 (include the management service)
    1. Optionally [[IISInstallCertificateFromCommandLine]]. If you take this option, you will complete everything but the next item, which you do need!
    1. See [[https://docs.microsoft.com/en-us/iis/manage/remote-administration/remote-administration-for-iis-manager|remote administration]] docs.
    1. If not installed on the Windows Client, install IIS management Console from [[https://www.microsoft.com/en-us/download/details.aspx?id=41177|here]].
       a. Although this is nice to have on hand, and we will use it later, you will have to use the GUI installed on the server (along with the feature on demand: !AppCompatibility see [[https://docs.microsoft.com/en-us/windows-server/get-started/server-core-app-compatibility-feature-on-demand|here]]) NOTE: If you get errors installing server-core-app-compatibility-feature-on-demand, make sure to install updates, without these we have experienced repeated failures.
       a. Remember that even with the !AppCompatibilty package installed, you do not have the ability to use a file browser. Do not use the ellipses to select a file or the MMC will crash.
    1. With the Server selected in the navigation pane, double click the Server Certificates icon in the central details pane.
    1. Click on: Create a Certificate Request... in the action pane.
    1. Make sure to use your full hostname for the common name. E.g. I used "cpte230b.scot.anderson.internal"
    1. Copy the file CPTE230A.
    1. From a command prompt type: {{{certreq -submit -attrib “CertificateTemplate:WebServer” “C:\...\cert.req”}}} This will create a file containing you certificate to install.
    1. Copy the certificate file to your CPTE230B machine.
    1. Click on "Complete Certificate Request..."
    1. Select the certificate file you copied from CPTE230A
       1. Choose type as Web Hosting.
 1. Click on your default web site to bind the certificate to your website.
    1. Click on Bindings, and click on ADD
    1. Add a binding for https and select the certificate that you just imported.
Line 5: Line 26:
 1. Use the videos in this section to Install a AD Certificate server on CPTE265A.
 1. Use the videos in this section to Install a certificate for your default site on CPTE265B
 1. Use the videos in this section and course lecture notes to Create and deploy a Movies site using Windows Authentication (make sure to disable anonymous access). Use the following information to connect to the database:
    1. Server: cs446.cs.southern.edu
    1. Database: MyMovies
    1. Username (SQL): cpte265
    1. Password: Hello123Passwordcpte265
    1. Make a group called MovieEditors that is allowed to delete items from the movies application and do not put the dra user in it.
    1. Make sure only MovieEditors can edit or delete movies. Allow any authenticated user can add or view the list.
    1. Require the site to use SSL
Line 16: Line 27:
Note: You will need to add the "Application Server Role" and the "WinRM" feature to the CPTE265B computer.
Line 18: Line 28:
Document the new services for each server on a new page named Lab07 I.e.
Document the new services for each server on a new page named services I.e.
Line 21: Line 32:
CPTE230A (192.168.1.2)
Line 22: Line 34:
CPTE265A (192.168.X.2)

 * AD DS Server
Line 27: Line 36:
CPTE 265B (192.168.X.3) CPTE 230B (192.168.1.3)
Line 30: Line 39:
 * Movies Web Application using Windows Authentication
   * Site requires SSL
   * Only MovieEditors can change or delete movies. Authenticated users can add or view movies.

Note we will be installing a webservice on CPTE 230 B in the next lab.

== Video Grade Guide ==
||Topics ||Points ||
||Video shows the Certificate Server and certificates issued on CPTE230A ||30 ||
||Video shows a website showing certificate, and that it is trusted by your browser. ||60 ||
||Video talks through the documentation ||10 ||

Lab 07

Perform the following

  1. Install a AD Certificate server on CPTE230A.
    1. I used all defaults for my AD Certificate server as a Enterprise Root CA.
  2. Install IIS with an X.508 certificate for your default site on CPTE230A
    1. Install IIS 10 (include the management service)
    2. Optionally IISInstallCertificateFromCommandLine. If you take this option, you will complete everything but the next item, which you do need!

    3. See remote administration docs.

    4. If not installed on the Windows Client, install IIS management Console from here.

      1. Although this is nice to have on hand, and we will use it later, you will have to use the GUI installed on the server (along with the feature on demand: AppCompatibility see here) NOTE: If you get errors installing server-core-app-compatibility-feature-on-demand, make sure to install updates, without these we have experienced repeated failures.

      2. Remember that even with the AppCompatibilty package installed, you do not have the ability to use a file browser. Do not use the ellipses to select a file or the MMC will crash.

    5. With the Server selected in the navigation pane, double click the Server Certificates icon in the central details pane.
    6. Click on: Create a Certificate Request... in the action pane.
    7. Make sure to use your full hostname for the common name. E.g. I used "cpte230b.scot.anderson.internal"
    8. Copy the file CPTE230A.
    9. From a command prompt type: certreq -submit -attrib “CertificateTemplate:WebServer” “C:\...\cert.req” This will create a file containing you certificate to install.

    10. Copy the certificate file to your CPTE230B machine.
    11. Click on "Complete Certificate Request..."
    12. Select the certificate file you copied from CPTE230A
      1. Choose type as Web Hosting.
  3. Click on your default web site to bind the certificate to your website.
    1. Click on Bindings, and click on ADD
    2. Add a binding for https and select the certificate that you just imported.

Document the new services for each server on a new page named services I.e.

Services Installed:

CPTE230A (192.168.1.2)

  • AD Certificate Authority

CPTE 230B (192.168.1.3)

  • IIS (With SSL Certificate from AD Cert. Auth.)

Note we will be installing a webservice on CPTE 230 B in the next lab.

Video Grade Guide

Topics

Points

Video shows the Certificate Server and certificates issued on CPTE230A

30

Video shows a website showing certificate, and that it is trusted by your browser.

60

Video talks through the documentation

10

WindowsAdministration/Lab07WebServerInstall (last edited 2023-11-02 19:30:29 by scot)