Hướng dẫn tạo CSR cho TOMCAT trên WINDOWS

  1. Tạo Keystore

Để tạo CSR cho Tomcat trên Windows, bạn hãy tạo một thư mục C:\Store2015 trên máy chủ.

  1. Mở một Command prompt, chuyển vào thư mục Java/bin (Bạn nên dùng phiên bản Java mới nhất) và gõ lệnh sau
keytool -genkey -alias tomcat -keyalg RSA -keystore C:\keystore\server.jks -keysize 2048
  • Khi được hỏi password, nhập vào changeit(hai lần)
  • Khi được hỏi “What is your first and last name?” thì gõ vào tên miền cần mua SSL, ví dụ tencongty.com
  • Khi được hỏi “What is the name of your organizational unit?” thì gõ IT Center
  • Khi được hỏi “What is the name of your organization?” thì gõ vào tên công ty(chọn tên tiếng Anh hoặc tên tiếng Việt) trong giấy đăng ký kinh doanh của công ty. Lưu ý nhập chính xác từng ký tự
  • Khi được hỏi “What is the name of your City or Locality?” thì gõ Ha Noi(tên thành phố nơi công ty đăng ký kinh doanh, không dấu)
  • Khi được hỏi “What is the name of your State or Province?” thì gõ Ha Noi(tên tỉnh nơi công ty đăng ký kinh doanh, không dấu)
  • Khi được hỏi “What is the two-letter country code for this unit?” thì gõ VN(ghi chữ in hoa)
  • Khi được hỏi “Is CN= www.tencongty.com, OU=IT Center, O= Ten cong ty, L=Ha Noi, ST=Ha Noi, C=VN correct?” thì gõ yes
  • Khi được hỏi “Enter key password for ” thì gõ changeit. Hỏi lại một password nữa cũng gõ changeit
  1. Tạo CSR

Gõ lệnh sau:

keytool -certreq -alias tomcat -file C:\keystore\certreq.csr -keystore C:\keystore\server.jks

Khi được hỏi password thì nhập vào changeit

  1. Gửi tập tin CSR này cho chúng tôi để đăng ký
  2. Lưu trữ Keystore

Kể từ lúc này trở đi, thư mục C:\keystore cần được lưu trữ cẩn thận để có thể cài đặt chứng thư số SSL sau khi nhận được từ CA

Vina Aspire is a consulting company, providing IT solutions and services, network security, information security & safety in Vietnam. Vina Aspire’s team includes skilled, qualified, experienced and reputable experts and collaborators, along with major domestic and foreign investors and partners to join hands in building.

Businesses and organizations wishing to contact Vina Aspire Company with the following information:

Email: info@vina-aspire.com | Website: www.vina-aspire.com
Tel: +84 944 004 666 | Fax: +84 28 3535 0668

Vina Aspire – Vững bảo mật, trọn niềm tin


Bài viết liên quan

About Us

Learn More

Vina Aspire is a leading Cyber Security, AI & IT solution and service provider. Vina Aspire is built up by our excellent experts, collaborators with high-qualification and experiences and our international investors and partners. We have intellectual, ambitious people who are putting great effort to provide high quality products and services as well as creating values for customers and society.

may ao thun Kem sữa chua May o thun May o thun đồng phục Định cư Canada Dịch vụ kế ton trọn gi sản xuất đồ bộ
Translate »