Consul proxy sidecar, peer certificate mismatch

Solution 1:

I got help on another forum.

The trick was on the DB consul service config, the service address on config was pointing to 127.0.0.1, remove the address register on config and everything begin to work perfectly.