- The elasticsearch-jetty plugin can be used to secure an ES instance for direct access.
- If the first wall you hit, happens to be a "gap" in Jetty know-how then refer to the following to get up to speed:
-
Next, you may struggle with your wish for Jetty to be super-secure vs. how to make it happen:
-
http://wiki.eclipse.org/Jetty/Howto/Secure_Passwords
- Sidebar: The required JAR files will be present in ES_HOME/plugins/jetty once you've setup elasticsearch-jetty.
- http://wiki.eclipse.org/Jetty/Reference/SSL_Connectors
- http://wiki.eclipse.org/Jetty/Howto/Configure_SSL
-
http://wiki.eclipse.org/Jetty/Howto/Secure_Passwords
-
Getting a CA-signed cert is always such a pain so if you can re-purpose an existing one ... great!
-
Need to perform some transformations on the available keys & certs? You may refer to http://www.sslshopper.com/article-most-common-openssl-commands.html ... I found the following instructions provided there to be particularly useful:
Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM
openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes
You can add -nocerts to only output the private key or add -nokeys to only output the certificates. - Using Portecle (wrapped with Jar Bundler) or KeyStore Explorer works well too.
-
Need to perform some transformations on the available keys & certs? You may refer to http://www.sslshopper.com/article-most-common-openssl-commands.html ... I found the following instructions provided there to be particularly useful:
Showing posts with label KeyStore Explorer. Show all posts
Showing posts with label KeyStore Explorer. Show all posts
Tuesday, April 24, 2012
Securing ElasticSearch for direct access via a Jetty plugin
Labels:
jar,
jar bundler,
KeyStore Explorer,
mac,
Portecle
Sunday, March 6, 2011
Wish List: Integrate openssl and/or keytool funtionality into Windows Right-Click context menu
Techies have it real good. So much that we need is already out there in the world and to top it all off there's Google so that we may find what we need! Yet, sometimes I come across problems that make me wonder: "Do we really have it all?"
I have had my fair share of banging my head bloody against the computer screen ... trying to re-learn keytool & openssl syntax, again! It takes 1 month to remind myself of all the caveats and for another month I enjoy expert status. Then the vicious cycle begins again where I don't need to use them and the 10 month hibernation strips away my facilities from me. That's my year right there .... happy new year? I think not!
So what's on my wish list?
I have had my fair share of banging my head bloody against the computer screen ... trying to re-learn keytool & openssl syntax, again! It takes 1 month to remind myself of all the caveats and for another month I enjoy expert status. Then the vicious cycle begins again where I don't need to use them and the 10 month hibernation strips away my facilities from me. That's my year right there .... happy new year? I think not!
So what's on my wish list?
-
Establish a 3 letter extension syntax to honor what's what for public/private keypair based security. It is far too loose today and makes the creation of tooling more challenging than it needs to be.
- Public/Private Keypairs: should at least end with pem or der
- filename.pem
- filename.der
- Certificate Signing Requests: should end with csr
- filename.csr
- Keystores should clearly define their own format
- filename.jks
- Public/Private Keypairs: should at least end with pem or der
- Tools or widgets or plugins ... something should be available which makes life easier by allowing the user to right-click a file and take any valid action supported by openssl or keytool.
-
Portecle: is a user friendly GUI application for creating, managing and examining key stores, keys, certificates, certificate requests, certificate revocation lists and more.
- Wrapping Portecle with Jar Bundler works well for mac. And if you need to run it as root, you can use "sudo open portecle.app" to launch it.
- KeyStore Explorer: is a free GUI replacement for the Java command-line utilities keytool, jarsigner and jadtool. KeyStore Explorer presents their functionality, and more, via an intuitive graphical user interface
Labels:
jar bundler,
KeyStore Explorer,
keytool,
mac,
openssl,
Portecle,
windows
Subscribe to:
Posts (Atom)