import java.net.*; import java.security.cert.Certificate; import java.io.*; import javax.net.ssl.*; public class SSLTest { public static voi d main(String[] args) throws Exception { String https_url = " https://www.google.com/ " ; URL url; url = new URL(https_url); HttpsURLConnection con = (HttpsURLConnection) url.openConnection(); if (con != null ) { System.out.println( " Response Code : " + con.getResponseCode()); System.out.println( " Cipher Suite : " + con.getCipherSuite()); System.out.println( " \n " ); Certificate[] certs = con.getServerCertificates(); int i=0; for (Certificate cert : certs) { System.out.println( " Cert NO : " +i++); System.out.println( " Cert Type : " + cert.getType()); System.out.printl...
Future driven solutions.