Elasticsearch ssl without x-pack

Is possible to encrypt the communication of elasticsearch and the others without using x-pack?

Set up a proxy using nginx or IIS on the server?