Help Center> ServiceStage> FAQ> Go SDK FAQs> Certificate Loading Failed

Certificate Loading Failed

Symptom

If this error message is displayed, the verifyPeer option is set to true and no certificate is configured. The default value of verifyPeer in Go-chassis is false, which will not be changed automatically.

Solution

  • If a certificate is not necessary, the verifyPeer value changes during development or continuous integration. In this case, check the code from committing to deployment, and change value true to its default value false.
  • If a certificate is necessary, configure it.