Not much of an article here… but if you want to use WGET to validate a spring boot app with a self-signed certificate, for example, and you don’t want to bother outputting the results to file, you can do this:
wget -q -O – https://172.20.234.165/actuator/health –no-check-certificate
The output would be right inline and would avoid the certificate validation:
# wget -q -O – https://172.20.234.165/actuator/health –no-check-certificate
You could achieve this with curl as well I’m sure – but it isn’t installed on alpine it seems and I didn’t want to install extra tools.