Cygwin64 OpenSSL not available problem

I get the following message:
[INFO ][com.floragunn.searchguard.ssl.SearchGuardKeyStore] Open SSL not available because of java.lang.UnsatisfiedLinkError: C:\cygwin64\tmp\netty-tcnative5452582727732685820.dll: Can’t find dependent libraries

I have verified the installation of APR and OpenSSL at the following locations:

  • C:\cigwin64\bin\cygapr-1-0.dll (I have also copied it and renamed it apr-1-0.dll)
  • C:\cigwin64\bin\cygaprutil-1-0.dll (I have also copied it and renamed it aprutil-1-0.dll)
  • C:\cigwin64\bin\opennssl.exe (runs well in cygwin’s terminal window)
  • netty-tcnative-1.1.33.Fork13-windows-x86_64.jar is in the plugins/search-guard-ssl folder
    In desperation I have also downloaded and compiled apr-1.5.2 (./configure, make, make install in cygwin’s terminal window) into /usr/local/apr and added the bin and lib directories to PATH but to no avail. ElasticSearch 2.2.0 and the corresponding search-guard-ssl-2.2.0.6 are installed. What dependent library is missing?

This sound more like a netty/netty-tcnative problem. Can ypu pls open an issue here GitHub - floragunncom/netty: Netty project - an event-driven asynchronous network application framework
Until this gets resolved you may want to disable OpenSSL support and go with Java built in SSL:

searchguard.ssl.transport.enable_openssl_if_available: false
searchguard.ssl.http.enable_openssl_if_available: false

···

Am 29.04.2016 um 20:22 schrieb Brandon <bmorstad@mac.com>:

I get the following message:
[INFO ][com.floragunn.searchguard.ssl.SearchGuardKeyStore] Open SSL not available because of java.lang.UnsatisfiedLinkError: C:\cygwin64\tmp\netty-tcnative5452582727732685820.dll: Can't find dependent libraries

I have verified the installation of APR and OpenSSL at the following locations:
  • C:\cigwin64\bin\cygapr-1-0.dll (I have also copied it and renamed it apr-1-0.dll)
  • C:\cigwin64\bin\cygaprutil-1-0.dll (I have also copied it and renamed it aprutil-1-0.dll)
  • C:\cigwin64\bin\opennssl.exe (runs well in cygwin's terminal window)
  • netty-tcnative-1.1.33.Fork13-windows-x86_64.jar is in the plugins/search-guard-ssl folder
In desperation I have also downloaded and compiled apr-1.5.2 (./configure, make, make install in cygwin's terminal window) into /usr/local/apr and added the bin and lib directories to PATH but to no avail. ElasticSearch 2.2.0 and the corresponding search-guard-ssl-2.2.0.6 are installed. What dependent library is missing?

--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/72fecbe9-3574-4e02-8c98-f1f4ea0733d7%40googlegroups.com\.
For more options, visit https://groups.google.com/d/optout\.