Hacker News new | ask | show | jobs
by teacurran 4384 days ago
So many people commenting here don't seem to have read the article. His comment is that Java can't connect to an SSL encrypted URL out of the box. He is saying that because it can't do this it can't be used for a basic command line app. He isn't complaining that it is hard to write a command line app in Java.

He is trying to load this URL: https://keybase.io/_/api/1.0/user/autocomplete.json?q=someth...

This URL is not self signed and loads fine as a valid cert in a browser. In the Java application it throws an exception about a bad handshake. I believe this is because Java 7 and 8 ship with less trusted certificate authorities than browsers do.

I forked his project and made it easy to run via the command line without Android if anyone wants to try it out: https://github.com/teacurran/KeybaseLib

Just clone the repo and execute "./run.sh something"