GitHub - wavesoftware/java-https-checker: HTTP/S Java Checker - It can check is your Java installation can perform connection with given HTTPS address
HTTP/S Java Checker - It can check is your Java installation can perform connection with given HTTPS address
Installation on Debian/Ubuntu
$ wget -O jhttps-checker_0.8.0_all.deb https://github.com/wavesoftware/java-https-checker/releases/download/v0.8.0/jhttps-checker_0.8.0_all.deb
$ sudo dpkg -i jhttps-checker_0.8.0_all.deb || sudo apt-get install -fUsage
$ jhttps-checker https://sonar.wavesoftware.pl/ Request URL: https://sonar.wavesoftware.pl/ ------ Response OK?: true ------ HTTP/1.1 200 OK X-Runtime: 449 ETag: "d3d61c144eacacfd6a426b23200868b3" Content-Length: 20125 X-XSS-Protection: 1; mode=block Connection: keep-alive Server: nginx/1.4.6 (Ubuntu) X-Content-Type-Options: nosniff Cache-Control: private, max-age=0, must-revalidate X-Frame-Options: SAMEORIGIN Date: Wed, 09 Mar 2016 20:23:14 GMT Vary: Accept-Encoding Content-Type: text/html;charset=utf-8 $ jhttps-checker https://api.sandbox.paypal.com/ Request URL: https://api.sandbox.paypal.com/ javax.net.ssl.SSLHandshake: Received fatal alert: handshake_failure $ jhttps-checker --help usage: jhttps-checker [-h] [-q] [-r MAX_REDIRECTS] address It can check is your Java installation can perform connection with given HTTPS address positional arguments: address Address to be checked optional arguments: -h, --help show this help message and exit -q, --quiet Do not display anything, only retcodes (default: false) -r MAX_REDIRECTS, --max_redirects MAX_REDIRECTS Number of redirects to perform at maximum (default: 10)
as Maven dependency
<dependency> <groupId>pl.wavesoftware</groupId> <artifactId>jhttps-checker</artifactId> <version>0.8.0</version> </dependency>