itprofes
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Upgrade Server 2008 - Internet Information Services – IIS (phần 2)

Go down

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) Empty Upgrade Server 2008 - Internet Information Services – IIS (phần 2)

Bài gửi  admin 26/6/2010, 2:17 pm

Bài viết liên quan: Upgrade Server 2008 – Internet Information Services – IIS (Phần 1)



Để cài đặt Certificate (CA) bạn vào lại Server Manager chọn Roles -> Add Roles

Trong màn hình Select Server Roles bạn chọn Active Directory Certificate Services

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-004840-gf-thumb

Trong màn hình Select Role Services bạn chọn 2 mục là Certification Authority và Certification Authority Web Enrollment

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-004917-gf-thumb

Trong bài do tôi chỉ khảo sát CA trong môi trường WORKGROUP mà thôi nên trong cửa sổ Specify Setup Type tôi chọn Standalone

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-004956-gf-thumb

Chọn Root CA

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005334-gf-thumb

Chọn tiếp Create a new private key

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005350-gf-thumb

Màn hình Configure Cryptography for CA giữ nguyên giá trị mặc định

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005404-gf-thumb

Tiếp tục tại cửa sổ Configure CA Name đặt tên cho CA của bạn trong bài giả sử tôi đặt là SERVER-CA

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005435-gf-thumb

Màn hình Select Role Services giữ nguyên giá trị mặc định

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005449-gf-thumb

Sau khi hoàn tất cài đặt CA bạn trở lại IIS tại màn hình IIS nhấp chọn Server Certificates

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005727-gf-thumb

Trong màn hình Server Certificates ta nhận thấy chỉ có một Certificate mặc định là SERVER-CA

Bây giờ ta sẽ tiến hành xin Certificate cho Web Server bằng cách nhấp vào Create Certificate Request

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005745-gf-thumb

Trong Distinguished Name Properties bạn nhập thông tin cho Certificate các thông tin trong này bạn tùy thích chỉ có thông tin trong Common name là quan trọng nhất và ta phải nhập chính xác thông tin trong Common name này

Do tôi xin Certificate cho trang www.gccom.net nên trong này tôi nhập là www.gcom.net

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-005804-gf-thumb

Trong màn hình Cryptographic Service Provider Properties giữ nguyên giá trị mặc định

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010246-gf-thumb

Trong cửa sổ File Name bạn nhập đường dẫn để CA trích xuất Certificate trong bài ví dụ là C:\gccom.txt

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010302-gf-thumb

Trong ổ đĩa C:\ sẽ xuất hiện file gccom.txt

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010428-gf-thumb

Bạn mở file gccom.txt lên copy toàn bộ nội dung này

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010453-gf-thumb

Tiếp theo bạn vào trang web của CA Server để xin Certificate tiếp tục nhấp vào Request a certificate

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010521-gf-thumb

Nhấp chọn Advanced certificate request

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010536-gf-thumb

Tiếp tục nhấp vào Link thứ 2 bên dưới

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010552-gf-thumb

Tại mục Saved Request bạn dán nội dung copy trong file gccom.txt

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010605-gf-thumb

Bật trình Certification Authority để Issue cho Certificate vừa xin cấp

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-010628-gf-thumb

Tại máy Web Server vào lại màn hình Web của CA để xem trạng thái của Certificate và tiến hành cài đặt CA về máy

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011138-gf-thumb

Nhấp vào Saved Request Certificate

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011204-gf-thumb

Nhấp chọn Download certificate

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011218-gf-thumb

Trong bài tôi sẽ lưu file này vào C:\ có tên là certnew.cer

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011326-gf-thumb

Quay trở lại màn hình Server Certificates của IIS bạn nhấp chọn Complete Certificate Request

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011348-gf-thumb

Chọn file certnew.cer trong cửa sổ Specify Certificate Authority Response và đặt tên cho Certificate này là Web GCC

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011404-gf-thumb

Nhận thấy trong màn hình Server Certificate sẽ xuất hiện thêm một Certificate mới đây chính là Certificate cho Website của bạn

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011413-gf-thumb

Bây giờ tôi sẽ cấu hình SSL cho trang gccom.net nên tại GC Com Co bạn nhấp phải chọn Edit Bindings

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011427-gf-thumb

Trong cửa sổ Add Site Bendings bạn chọn giao thức https trong Type

Trong SSL certificate bạn chọn là Web GCC

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011450-gf-thumb

Màn hình sau khi hoàn tất

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011510-gf-thumb

Bây giờ từ máy Client ta truy cập thử trang gccom.net với giao thức SSL sẽ thấy truy cập thành công

Upgrade Server 2008 - Internet Information Services – IIS (phần 2) 20090116-011600-gf-thumb
admin
admin
Thiếu Úy III
Thiếu Úy III

Tổng số bài gửi : 627
Diem : 6552
Thank : 4
Join date : 24/03/2010
Đến từ : Bỉm Sơn - Thanh hóa

https://itprofes.forumvi.com

Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết