< 1 2   Sort: Date

SslSocketInfo.java - SSL Socket Information
How to get more information about the SSL Socket object? It is created as "SSLSocketFactory.createSocket ()".If you created a URL object with "new java.net.URL(...)", you can use the following sample Java code to get more information about the URL object: // Copyright (c) FYIcenter.com import java.n...
2018-03-31, 1732🔥, 0💬

SSL Handshake Message Examples
How to get some SSL Handshake Message Examples? You can get SSL Handshake Message Examples as shown below: \fyicenter&gt;\local\jdk-1 .8.0\bin\java-Djavax.net.debug=ssl:handshak e:dataHttpsUrlReader &gt; ssl.log \fyicenter&gt;edit ssl.log *** ClientHello, TLSv1.2 [write] MD5 and SHA1 has...
2018-03-24, 1605🔥, 0💬

Key Manager Not Sending Client Certificate
Why the Key Manager is not sending the client certificate to the SSL server? I have provided a keystore file with the client certificate inside. JSSE documentation does not provide any details on how the Key Manager selects a certificate and sends it the SSL server. But rxg provided a good explanati...
2018-06-12, 1603🔥, 0💬

What Is Client Certificate Authentication
What Is Client Certificate Authentication? Client Certificate Authentication is an extra layer of security protection added to the normal SSL socket communication. In a normal SSL socket communication: The client is asking for the server to show server certificate. The client validates the server ce...
2018-06-27, 1511🔥, 0💬

Make SSL Server Certificate Trusted
How to make a SSL self-signed server certificate trusted? I want the ValidatorException going away. There are several options to make a self-signed server certificate trusted: Send your self-signed certificate to a trusted root CA, like GeoTrust, and ask them to sign it for you. Add your self-signed...
2018-06-27, 1455🔥, 0💬

Create SSL Client Certificate with "keytool"
How to create an SSL Client Certificate with JDK "keytool"? I want to run a SSL socket client program that requires client authentication. "keytool" from the JDK package is a nice tool to create public and private key pairs. It also allows you that create self-sign client certificates that you can u...
2018-06-12, 1406🔥, 0💬

Connect to SSL Server Failed with Invalid Certificate
Why am I getting the ValidatorException error when connecting to an SSL server? You are getting a ValidatorException error when connecting to an SSL server, because the server certificate can not be trusted for one of the following possible reasons: The root CA of the server certificate is unknown. ...
2018-06-27, 1349🔥, 0💬

Create SSL Server Certificate with "keytool"
How to create an SSL Server Certificate with JDK "keytool"? I want to run a SSL socket server program. "keytool" from the JDK package is a nice tool to create public and private key pairs. It also allows you that create self-sign server certificates that you can use as SSL server certificates. Here ...
2018-06-27, 1347🔥, 0💬

Client Certificate Authentication Example
How to write a SSL client program that use a client certificate? The SSL is asking for client certificate authentication. When an SSL server program is asking for client certificate authentication, it is usually coded as the following: serverSocket.setNeedClientAuth (true);In the SSL client program,...
2018-06-12, 1345🔥, 0💬

Make Client Certificate Trusted by SSL Server
How to make a self-signed client certificate trusted by the SSL server? I want to help Key Manager to send out the client certificate and accepted by the SSL server. There are several options to make a self-signed certificate trusted by the SSL Server: Send your self-signed certificate to a trusted ...
2018-06-12, 1300🔥, 0💬

SSL Handshake Message Sequence
What is the SSL handshake message sequence? I want to know how many messages are exchanged between the client and the server. When a SSL client is connecting to a SSL server, they will communicate to each other with the following sequence of messages to perform SSL handshake and exchange application...
2018-03-24, 1233🔥, 0💬

SunJSSE Provider Class Test
How to test SunJSSE Provider Classes? SunJSSE Provider Classes are hidden in some library files in JDK 9 and newer releases. They were stored in jsse.jar JDK 8 and older releases. The following sample program, SunJsseClassTest.java, shows you how to test SunJSSE Provider Classes: // Copyright (c) FY...
2023-01-23, 377🔥, 1💬

Where jsse.jar in JDK
Where is jsse.jar in JDK? jsse.jar contains Oracle implementation, formerly Sun implementation, of JSSE. It is referred as SunJSSE provider in JDK documentation. jsse.jar is packaged in JDK at different locations for different releases: JDK 9 - 18 Hidden in other library files JDK 1.4 - 8 Included i...
2023-01-23, 369🔥, 0💬

< 1 2   Sort: Date