A Journey of a Thousand Miles Begins with a Single Step

Check supported algorithms in OpenSSH

I have to prepare some file transfers within the company. The administrator was talking about mandatory cipher suites aes128-cbc and aes256-cbc. Basically I rely on OpenSSH and don’t dig so deep into the details, but never hurts to check if my running systems comply with above requirements.

Read more

Delete Elasticsearch index-name with special characters

If you working with logstash and set the index name dynamically from variables, you might run into situations where the variable is not substituted due to errors. You can get rid of this bad indices by deleting them with the REST API of elasticsearch. The challenge lies in escaping the special characters.

Read more

Elasticsearch Reporter for Dropwizard Metrics

This post describes how to export Dropwizard Metrics to elasticsearch. Instead of using logstash to parse application log files, the metrics can be exported directly within any Java application. This plugin is maintained by elastic.co.

Read more

Copy contents of Java Keystore to another Keystore

Copy all certificates from one keystore to the keystore of the current Java installation. You can use the keytool and srckeystore (source keystore) and destkeystore (destination keystore).

Read more

Reduce boilerplate code with Lombok

On the Javaland Conference 2016 I visited an interesting presentation about RESTful Hypermedia APIs by Kai Tödter. A really refreshing and pragmatic view how to benefit from Hypermedia. An additional insight was the Project Lombok.

Read more

Using proxy within Java for HTTP or HTTPS connection

This post list all essential property names for using HTTP or HTTPS connections in Java.

Read more