由於發生 SSL 驗證錯誤,導致 Manager Service 無法執行。

問題

Manager Service 失敗,並在記錄中顯示下列錯誤訊息:

[Info]: Thread-Id="6" - context="" token="" Failed to connect to the core database, will retry in 00:00:05, error details: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)

在執行階段期間,由於發生 SSL 驗證錯誤,導致 Manager Service 無法執行。

程序

  1. 開啟 ManagerService.config 組態檔。
  2. 在下列行中更新 Encrypt=False<add name="vcac-repository" providerName="System.Data.SqlClient" connectionString="Data Source=iaas-db.sqa.local;Initial Catalog=vcac;Integrated Security=True;Pooling=True;Max Pool Size=200;MultipleActiveResultSets=True;Connect Timeout=200, Encrypt=True" />