show root-cause for compile-message: Recompile with -Xlint:deprecation for details

if the compile-output shows something like:

Recompile with -Xlint:deprecation for details


Then it is time to get to the details of this message:

in Gradle-scripts/build.gradle (Project) include the following line(s):

tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
build.gradle example

When you now run the app the root-cause is shown in the output:

example of build-output


Openssl: show serial-# and issuer

openssl s_client -connect 2>&1|openssl x509 -noout -serial -issuer
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

ntopng , fritzbox ( and geolocation

The latest browsers have removed the Geolocation API from unsecured Origins. If you still want to use Geo-API tools with ntopng needs to run secure, based on ssl (TLS).

ntopng has written a nice howto to use let’s encrypt-based certs.

But what needs to be adjusted on the script ?

if you want to run only ntopng with TLS on port 3001 and disable http the original line:

wget --no-check-certificate -qO- $FRITZIP/cgi-bin/capture_notimeout?ifaceorminor=$IFACE\&snaplen=\&capture=Start\&sid=$SID | ntopng -i -

should be adjusted to:

wget --no-check-certificate -qO- $FRITZIP/cgi-bin/capture_notimeout?ifaceorminor=$IFACE\&snaplen=\&capture=Start\&sid=$SID | ntopng --https-port=3001 --http-port=0 -i -

Done 🙂