Secure Sockets – Java Sockets Tutorial 06


How to check what jdk version is used by Windows? What is the name of the java key and certificate management utility? What is keytool’s genkey command? What is keytool’s alias and keystore options? What is the javax.net.ssl.trustStore system property? What is the javax.net.ssl.keyStorePassword system property? What is the SSLServerSocketFactory, and how is it used to create a ServerSocket? How is the server able to handle multiple clients in a Java Sockets application? When is a Thread’s run method invoked? What is the difference between an OutputStream and an InputStream? What is the difference between a PrintWriter and a BufferedReader? What is the SSLSocketFactory, and how is it used to create a Socket? How to read a command prompt’s user input? How to fix a javax.net.ssl.SSLHandshakeException ‘no cipher suites in common’? What is the javax.net.ssl.keyStore system property?

10 thoughts on “Secure Sockets – Java Sockets Tutorial 06

  1. Je vous remercie infiniment sur cette vidéo mais j'ai une question!! Quel est le rôle de SSl? est ce que pour chiffrer les messages entre client et serveur??

  2. Thanks for the tutorial.i have a simple question: System.setProperty("javax.net.ssl.trustStore","za.store"); works only when i have the za.store in the same folder as the jar, is there a way to locate the ze.store within the jar file?

  3. I'm using netbeans to replicate this, and I'm receiving a "NoSuchAlgorithm" exception, that can be one of 3 things involving a password, keystorename, or location. I believe its the latter. I'm running a standard java application in netbeans, where do I place the .store file? Thanks for the video!

  4. is it me or dind you create a trusstore in the vid? i get " java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" erros and after googling this i think i need to crate a trusStore as well? i have to add my client and server app´s are 2 different java programms butboth of them have the file with the key?

  5. Peer to Peer (P2P) Chat w/ JAVA @ https://youtu.be/CcLOj3uhb0A

    Secure Sockets – Java Sockets Tutorial 06 @ https://youtu.be/l4_JIIrMhIQ

    Sockets w/ Object Serialization and Threads – JAVA Tutorial 05 @ https://youtu.be/oDvSHdbdnig

    JAVA Sockets w/ Serializable objects – Tutorial 04 @ https://youtu.be/1up-oHjCcis

    JAVA Sockets Tutorial 03 – w/ Threads and server reply @ https://youtu.be/zjHdM_AiRak

    JAVA Sockets 02 – Tutorial w/ Threading @ https://youtu.be/Zm5fKTpovO0

    JAVA: Introduction to Sockets – Tutorial 01 @ https://youtu.be/_7bC1h2gGmA

Leave a Reply

Your email address will not be published. Required fields are marked *