Skip to content

Instantly share code, notes, and snippets.

View callain's full-sized avatar

Clément ALLAIN callain

View GitHub Profile
@callain
callain / keybase.md
Last active September 1, 2018 18:40
keybase.md

Keybase proof

I hereby claim:

  • I am callain on github.
  • I am dalc (https://keybase.io/dalc) on keybase.
  • I have a public key ASD59tYPUrZkb7w7EN2wvxknflfwqnnyZLYbDQhOPRz8uQo

To claim this, I am signing this object:

@callain
callain / SSLPoke.java
Created December 9, 2016 14:31 — forked from 4ndrej/SSLPoke.java
Test of java SSL / keystore / cert setup. Check the commet #1 for howto.
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {