The first error is because the client is using a non-tls request when contacting the Nomad API which is using TLS. The second is because the TLS certificate arguments being sent to the Nomad API are incorrect.
The Nomad TLS Learn guide has some great information about configuring and using TLS with Nomad. It is unfortunately hard to diagnose any additional problems without a lot more information about the TLS setup.