transport/tls-certificate
The TLS connection to REST over HTTPS (www-ssl) or to
api-ssl failed certificate verification. centrs verifies
peers by default.
Typical triggers
RouterOS ships a self-signed certificate, which no system trust store accepts. An expired certificate, or one whose name does not match the host you dialed, fails the same way.
Fix
- Install a certificate chain your machine trusts on the router, and dial the name it was issued for.
- Or turn off peer verification:
--insecurefor one call,CENTRS_INSECURE=1for every call in that environment, orinsecure=truein the device's CDB comment for every call to that device. This accepts any certificate, not only the router's own, so an impersonator on the path can read the credentials and commands. Use it only on a lab target or a path you trust. The result carries atransport/insecure-trustwarning. - REST over plain HTTP (
http://host) avoids TLS, but sends the credentials unencrypted.