P E N C I L
Login
SSL certificate

  1. Debug:
    -Djavax.net.debug=all or =ssl
    1. for Intellij: add to file /configs/idea/idea64.vmoptions
    2. for maven: mvn -Djaavx.net.debug=all
  2. sudo $JAVA_HOME/bin/keytool -importcert -alias
  3. openssl s_client -connect server:port
  4. Java sample:
    http://stackoverflow.com/questions/2308479/simple-java-https-server 
    (Anser krishnakumar sekar)
  5. StartSSL
    1. Web Server SSL/TLS Certificate
    2. Certificate Signing Request (CSR)
      1. https://www.digicert.com/easy-csr/keytool.htm
  6. Ubuntu CA
    1. Copy .pem to /usr/local/share/ca-certificates,  rename to .crt
    2. update-ca-certificates
      > copy to /etc/ssl/cert and merge all certificate to ca-certificates.crt