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

Build-Output

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

Done

Openssl: show serial-# and issuer

openssl s_client -connect cipv6.de:443 2>&1|openssl x509 -noout -serial -issuer
serial=03839493CC06B9487E59A519EEDABC5FAE36
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3

ntopng , fritzbox (fritzdump.sh) and geolocation

The latest browsers have removed the Geolocation API from unsecured Origins. If you still want to use Geo-API tools with fritzdump.sh 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 firtzdump.sh 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 🙂