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

Change System Properties for SSL Handling in JBoss EAP at runtime

Working with SSL you can pass all settings as arguments, or do it in the standalone.xml/domain.xml as System Properties. The advantage is you can alter them any time instead passing them as arguments. This post demonstrates how to deal with the essential SSL properties within JBoss by using the CLI.

Read more

Das Partition Feature der Oracle DB

Folgender Beitrag ist eine Erläuterung von Christian Gohmann: Das Partitioning Feature ist eine kostenpflichtige Zusatzoption für die Enterprise Edition. Um das Feature überhaupt nutzen zu können, muss dies aktiviert werden – entweder direkt bei der Installation der Oracle Software oder später durch den chopt Befehl.

Read more

Debug Environment Variables and System Properties in Java

Having problems it comes to debugging of the environment variables and system properties. This snippet prints all known environment variables and system properties in alphabetical order. Makes it easier to compare :wink:.

Read more