Step 1:
將數位憑證公司所產生的金鑰庫(keystore)---- eservice.jks儲存至
C:\weblogic\jdk150_04\bin
(eservice.jks為本範例的金鑰庫檔案名稱,檔案名稱會因專案而不同。)



Step 2:
登入WLS administration console進行setup
base_domain>Environment >Servers >examplesServer > Configuration >Keystore
Keystore:選 Custom Identity and Java Standard Trust
Custom Identity Keystore:C:\weblogic\jdk150_04\bin\eservice.jks (eservice.jks的完整路徑)
Custom Identity Keystore Type:JKS
Custom Identity Keystore Passphrase:XXXXXXXXXX    (eservice.jks的密碼)



Java Standard Trust Keystore Passphrase:changeit   (預設的密碼若沒改過,則必為changeit)



接著按下Save鍵

Step 3:
base_domain>Environment >Servers >examplesServer > Configuration >SSL
Identity and Trust Locations:選Keystore
Private Key Alias:blog.pixnet.net (當初向憑證公司申請時所設定的Key Alias,一般都使用公司網域名稱)
Private Key Passphrase:XXXXXXXX   (eservice.jks的密碼)
設定好後按下Save鍵
最後按下Activate Changes鍵



Step 4:
base_domain>Environment >Servers >examplesServer > Configuration > General
將SSL Listen Port Enabled打勾,並設定SSL Listen Port(defalt 7002)


Step 5:
開啟瀏覽器於網址列輸入 https://localhost:7002/console
在瀏覽器的右下角會有個鎖頭圖示


對鎖頭double click滑鼠左鍵,會出現憑證資訊
發給:      (這邊我把這行資訊給塗抹成黑色,因為是客戶資料)
發行者:
有效日期:


以上的步驟都完成並正確就可以使用SSL的功能。

ader1972 發表在 痞客邦 留言(0) 人氣()