Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Use Dropwizard Metrics with CDI in Java EE

Java EE provides with CDI (Contexts and Dependency Injection) a powerful way to write loose coupled code. Dropwizard Metrics is a wonderful library to collect metrics about your application. This post shows how to integrate Dropwizard Metrics with CDI into an Java EE application.

Read more

Bind JBoss EAP to subnet

Having multiple Network Interfaces (NICs) is especially at enterprise level servers very common. Having four network interfaces (bond0,..,bond0-2) the JBoss instance could bind to any interface. JBoss can be configured to bind to the subnet mask.

Read more

Analyse network traffic capture with Wireshark

Wireshark is an open source network protocol analyzer. Captures from networking traffic with Wireshark or tcpdump can easily be analyzed in the GUI. This post show how to decode TCP as SSL protocol during the SSL/TLS handshake.

Read more

Import pem certificate into Java KeyStore (jks)

To achieve that we convert the certificate into a binary cert that can be imported by the Java keytool.

Read more

Create alias for indices in Elasticsearch

If you have multiple indices and build your visualisations and dashboard in Kibana, you might consider using an alias. The advantage is that the physical index name can always be removed, renamed, reindex. The alias gives you the flexibility that your Kibana objects remain consistent, but in the background you have to freedom to reorganise. This post illustrates two examples.

Read more

Getting started with JBoss EAP Quickstart Examples

This post demonstrates how to setup the quickstart examples for the stable release JBoss EAP 6.4. The quickstart projects offer a variety of examples for the usage of Java EE 6 with JBoss.

Read more

Export SSL/TLS certificates with openssl

openssl has a handy way to extract and save certificates for further usage. Comes in handy, if you have to setup e.g. key-stores in Java. This post demonstrates how to export binary and ASCII encoded certificates.

Read more

Connecting to SSL Services with openssl

Currently I have to deal a lot with SSL/TLS. openssl comes in handy to test connections. Also if you have setup 2-way SSL or mutual authentication, it is a good test for the SSL handshake.

Read more

Change key-server URL on GnuPG smart card

I just setup my new Linux development environment. Try to import my GnuPG keys, and failed due the keyserver didn’t exist anymore. This post demonstrates how to change the keyserver and fetch your public key from it.

Read more