首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫

Oracle 10g 常見問題精選(一):EM 配置 SSL 協議完整步驟與憑證部署

     編輯:Oracle 資料庫相關知識

EM 組件與 SSL 支援

OMS、DBConsole、Agent 均支援 SSL。配置工具:emctl secure。

配置步驟(以 OMS 為例)

  1. 設置環境:SET ORACLE_SID=your_sid (Windows) 或 export ORACLE_SID=your_sid (Linux)。
  2. 查看選項:emctl secure 顯示子命令:
    secure oms <sysman_pwd> <reg_pwd> [<host>] [-reset]
    secure agent <reg_pwd>
    secure dbconsole <sysman_pwd> <reg_pwd> [<host>]
    secure status [oms_url]
    secure lock | unlock
  3. 停止服務:opmnctl stopall。
  4. 執行安全配置:
    emctl secure oms
    # 提示輸入 Registration Password
    # 生成憑證、keystore、更新 emoms.properties
  5. 啟動服務:opmnctl startall。
  6. 驗證 HTTPS:
    emctl secure status https://host:4888/em/upload/
    默認端口:4888 (HTTPS)、7777 (HTTP)、4889 (Agent HTTP)。
  7. 瀏覽器安裝憑證:首次訪問 HTTPS URL,IE 彈出安全憑證安裝提示,點擊「確認」安裝到受信任根憑證機構。

Agent / DBConsole 同理

  • emctl secure agent <reg_pwd>
  • emctl secure dbconsole <sysman_pwd> <reg_pwd>

關鍵文件

$EM_HOME/sysman/config/emoms.properties 記錄 oracle.sysman.emSDK.svlt.ConsoleMode=HTTPS 等配置。

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式碼之家 All Rights Reserved