Here's the problem:
The CN (Common Name), localhost, on the server's certificate does not match its hostname, 10.0.0.164
If you connect to 'localhost' it should work (provided you are connecting from localhost). Alternatively it is also possible to disable checking of the certificate's common name.
You can also generate a new certificate on the server and provide a different common name, e.g. 10.0.0.164