TAILIEUCHUNG - Developing Web Services with Apache Axis 2 phần 9

Từ nơi mà bạn nhận được giấy chứng nhận là không quan trọng. Điều quan trọng là nếu bạn có thể xác minh chữ ký của CA mà bạn tin tưởng những gì CA, sau đó bạn có thể tin tưởng rằng khóa công khai trong chứng chỉ. Để xác minh chữ ký, bạn sẽ cần khóa công khai của CA đó. Cái gì? Bạn đang trở lại về nguồn gốc của vấn đề. | Chapter 9 Signing and encrypting SOAP messages 177 c cd keys c keys keytool -genkey -alias si -keystore -keyalg RSA -sigalg SHAiwithRSA Enter keystore password service-ks-pass What is your first and last name Unknown si What is the name of your organizational unit Unknown What is the name of your organization Unknown Foo What is the name of your City or Locality Unknown What is the name of your State or Province Unknown What is the two-letter country code for this unit Unknown US Is CN si OU Unknown O Foo L Unknown ST Unknown C US correct no yes Enter key password for si RETURN if same as keystore password si-pass Generate a certificate request for it c keys keytool -certreq -alias si -keystore -file Enter keystore password service-ks-pass Enter key password for si si-pass Use your test CA to create a certificate for it remember that ca-pass is the password for the CA key c keys cd CA c CA openssl x5 0 9 -CA -CAkey -CAserial -req -in c keys -out c keys -days i095 Import the certificate of the CA and that for the service into the keystore for the service c CA cd keys c keys keytool -import -alias testCA -keystore -file c CA Enter keystore password service-ks-pass Owner cN CA O Test CA ST Some-State C US Issuer CN cA O Test cA ST Some-State C US Serial number d4bf64c2e6aeb694 Valid from Sat Dec 08 i0 26 i4 CST 2007 until Tue Dec 05 i0 26 i4 CST 20i7 Certificate fingerprints MD5 26 48 iA iF 8D 57 3F A7 0F BD 82 39 F0 AA 5F 6D SHAi i5 35 0F C6 CD 47 B2 9E 83 6i DB ii 74 9E 40 08 B6 8F 55 79 Trust this certificate no yes Certificate was added to keystore c keys keytool -import -alias si -keystore -file Enter keystore password service-ks-pass Enter key password for si si-pass Certificate reply was installed in keystore Do you need to import c1 s certificate No. As the client will include it in the message you don t need it in the keystore. On the other hand

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.