Help Center/ Cloud Service Engine/ FAQs/ ServiceComb Engines/ How Can I Handle a Certificate Loading Error?
Updated on 2024-05-16 GMT+08:00

How Can I Handle a Certificate Loading Error?

Symptom

If the preceding error is displayed, the verifyPeer value is set to true but no certificate is configured. By default, the verifyPeer value in Go-chassis is false indicating that no certificate is configured and is not changed automatically.

Solution

  • If a certificate is not necessary but a certificate loading error occurs, 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.