---
article_id: KB0394858
article_type: Support Note
component_ids:
  - BNS-ARI-PUR
  - BNS-ARI-SC
  - BNS-ARI-SIPM
  - BNS-ARI-SS
component_descriptions:
  - 供應商資訊和績效管理
  - 戰略合約
  - 採購
  - 策略尋源
products:
  - SAP Ariba Procurement, cloud edition
  - SAP Ariba Sourcing, cloud edition
language: zh-tw
created: 2015-05-21
updated: 2022-04-02
source: Knowledge Base
url: https://support.ariba.com/item/view/KB0394858_zh-tw
connect_url: https://support.ariba.com/item/view/KB0394858_zh-tw?min=1
sap_for_me_url: https://me.sap.com/notes/KB0394858/zh-tw
---

# 整合工具組 (ITK) 的疑難排解憑證驗證失敗提示

## 解決方案

**問題**

有時在使用 SSL 或交握錯誤並以憑證為基礎的驗證時，整合工具組 (ITK) 資料傳輸工具 (DTT) 可能失敗。此解決方案適用於安裝在伺服器上，且未安裝在 SAP NetWeaver PI 上的獨立 ITK 執行個體。

**起因**

問題通常是因為客戶金鑰儲存區上使用的憑證鏈不完整，或是憑證不正確。

進行疑難排解時，請檢查下列項目：

- 確保客戶使用由 Ariba 信任的憑證授權單位發行的公開金鑰/中間/根憑證。自我簽署憑證無法與 ITK 和憑證基礎驗證一併使用。
- 確保客戶已在 Ariba 應用程式中將端點啟用為 憑證 的驗證方法**，**

  (上游)：**管理 > 管理 > 整合管理員 > 整合工具組安全性**  
  (下游)： **管理 > 核心管理 > 整合管理員 > 整合工具組安全性**
- 在選項檔案 (.bat/.sh) 中，請確認參數 urlPrefix 已正確設定為 [https://xxxxx/Sourcing/filedownload](https://xxxxx/Sourcing/filedownload) 或 [https://xxxxx/Buyer/fileupload](https://xxxxx/Buyer/fileupload) ，其中 xxxxx 為 \[其他資訊\] 區段中列出的網站之一，且必須適當使用。例如：設定 urlPrefix=[https://s1-integration.ariba.com/Sourcing/filedownload](https://s1-integration.ariba.com/Sourcing/filedownload) orr set urlPrefix=[https://s1-integration.ariba.com/Buyer/fileupload](https://s1-integration.ariba.com/Sourcing/filedownload)
- 在選項檔案 (.bat/.sh) 中，請確定已設定下列參數且未註解：  
  clientKeystore  
  clientKeystorePassword  
  clientKeyPassword
- 確保 clientKeystore 參數中指定的金鑰儲存區包含客戶的私密金鑰，以及用於 SSL 與 Ariba 通訊的公開憑證 (公開金鑰、中間、根憑證)。
- 若 HTTPS 過帳失敗，客戶可以在 ITK bin 目錄的 toolslib.bat/.sh 檔案中啟用下列參數，以列印用戶端/伺服器搖號和交握資訊相關的除錯資訊：

  a) 移至 \<ITK\_install\_root>/bin  
  b) 編輯 toolslib.bat/.sh 檔案  
  c) 設定下列引數並儲存：

  **Windows**: set \_command="%JAVA\_HOME%\\java" **-Djavax.net.debug=ssl:andshake:verbose -Dhttps.protocol=TLSv1.1,TLDk.tlent.protocol="TLSv1.1,TLSv1.2"** -jar "%CLASSESDIR%\\aribiletransfer.jar" %args%

  **Linux/Unix**: \_command="$JAVA\_HOME/bin/jav**-Djavax.net.debug=\\"ssl:handshake:verbose\\" -Dhttps.protocol=\\"TLSv1.1,TLSvfer.jar"$CLASSES1.1,TLSv1.2\\" -Djdk.tls.client.protocol=\\"TLSv1.1,TLSv1.2\\" -jar \\"$CLASSESDIR/aribafsv**er.jar" $argileper.jar"
- 下次執行 ITK 並嘗試過帳至 Ariba 時，記錄會顯示 SSL 握手/憑證資訊。

  請檢查找到客戶金鑰儲存區憑證的主題、發行者、有效日期。此資訊應在 ITK 日誌中輸入至 HTTPS 過帳至 Ariba URL 後列印。檢查找到的憑證是否與金鑰儲存區中預期的相同用戶端憑證資訊相符。

  a) 應從用戶端的金鑰儲存區找到有效憑證。  
  範例：  
  \*\*\*\*於 11 月 11 日 13:22:54 PDT 2020 執行檔案傳輸工具\*\*\*\*  
  發佈到 https://certs1.ariba.com/Buyer/filedownload?realm=abcCompany  
  \*\*\*  
  已找到 的金鑰：\<clients\_keystore>

  b) 將起始 \*\*\* ClientHello、TLSv1  
  c) 將起始 \*\*\* ServerHello、TLSv1，並將 Ariba 公開金鑰 (憑證鏈) 傳送至用戶端  
  d) 應找到信任的憑證  
  e) 將啟動 \*\*\* ClientKeyExchange、RSA PreMasterSecret、TLSv1，其中用戶端會傳送與 Ariba 公開金鑰簽署的金鑰交換  
  f) Ariba 會解密 PreMasterSecret。此時，若發生失敗，使用者可能會看到錯誤如下。若是如此，問題可能與金鑰儲存區中的憑證有關：javax.net.sl.SSLHandshakeException：收到嚴重警示：handshake\_failure

**附加資訊**

有效領域列於下方，

- service-2-eu.ariba.com
- service-2-ru.ariba.com
- s1-integration.ariba.com
- certs1-integration.ariba.com
- s3-integration.ariba.com
- certs3-integration.ariba.com
- s1-integration-eu.ariba.com
- certs1-integration-eu.ariba.com
- s1-integration-ru.ariba.com
- certs1-integration-ru.ariba.com
- service-2.ariba.com
- certservice-2.ariba.com
