Hello everybody, hope you’re doping great.
I have successfully integrated search-guard-ssl v126.96.36.199 plugin onto a Java (8) project of my own that uses the Elasticsearch Java API. I’ve followed this post and it’s working fine. On the other hand I have successfully enabled OpenSSL on all of my ES nodes (thanks to this doc, section ‘dynamically linked’).
The problem comes when I try to enable OpenSSL on my Java project. I don’t know exactly how to do this, I’ve tried different things and I’m always getting the following log:
Open SSL not available because of java.lang.UnsatisfiedLinkError: no netty-tcnative in java.library.path
To add a little more of complexity to the deal, I need to dynamically enable OpenSSL, just as I do with the ES nodes. If the netty-tcnative jar is available at some path then my service should start with OpenSSL.