Skip to content

Testing connection to cloud storage fails with error SE_ENC_PEER_VERIFY_ERROR

Resilio Connect allows to test connection to a configured cloud storage. Some cloud storages may report "SE_ENC_PEER_VERIFY_ERROR" when testing connection.

2022-08-16_16-09-38.png

The error is caused by the fact the cloud storage has root certificate that is not added to your OS trusted roots. Known cloud providers prone to that error:

  • BackBlaze
  • SoftIron
  • Azure Blob
  • Drawbridge Digital

There are 2 solutions possible for the issue.

Disabling TLS certificate check

This solution is simple to implement yet less secure, therefore not recommended. Set custom parameter in the Agent profile allow_untrusted_https to true and restart the Agent.

image_2023-07-04_140151726.png

Add cloud storage certificate to trusted

This must be done on the host where the Agent that is going to talk to your cloud storage is running. The commands themselves depend on the OS. Before running the commands, download and save your cloud provider root certificate in PEM format. For example, for Backblaze that would be https://letsencrypt.org/certs/isrgrootx1.pem .

Windows

Run command in the elevated command prompt:

certutil -addstore -f "Root" <your_ceritifate.pem>

Reboot the server.

Linux

Run the following command:

  sudo cp <your_certificate.pem> /usr/local/share/ca-certificates/  
  sudo update-ca-certificates -v

if update-ca-certificates is command not found, install package ca- certificates using package manager of the Linux distro.

Reboot the server.

Error code SE_ENC_PEER_VERIFY_ERROR