Wu Bigo

Today I Learned

A collection of concise write-ups about what i learned today and it's build from http://bigo.github.io .These are things that don't really warrant a full blog post

Connecting to SSL services

JDK Version

java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

Verify that the target server is configured to serve SSL


Connecting to SSL services


If you are getting an exception due to “Illegal key size” and you are using Sun’s JDK, you need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. See the following links for more information:

Connecting to SSL Server from eclipse

Append the following to use keystore in eclipse tomcat server

-Djavax.net.ssl.trustStore="C:\Program Files\Java\jdk1.8.0_121\jre\lib\

check certificate name by alias then remove from keystore files

$keytool -list -v -keystore cacerts | grep 'Alias name:'

$sudo keytool -delete -alias wubigo  -keystore cacerts