1 2 3 4 5 > >>   Sort: Rank

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, 617👍, 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, 501👍, 0💬

SslServerCmd.java - SSL Server Command Example
How to create an SSL server program to run like a command? In order to create an SSL server program, you need to do the following: 1. Load the keystore file that contains the server certificate. Remember to specify the keystore password as shown below: KeyStore ks = KeyStore.getInstance("JKS"); ks.l...
2018-06-27, 469👍, 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, 436👍, 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, 425👍, 0💬

SSL Handshake Messages with Client Authentication
How to get SSL Handshake Messages that use client Authentication? You can get SSL Handshake Messages that use client Authentication as shown below: 1. Open command window and run SslServerCmd.java with client certificate authentication turned on: \fyicenter>\local\jdk-1 .8.0\bin\java-Djavax.n...
2018-06-12, 1370👍, 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, 486👍, 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, 436👍, 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, 419👍, 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, 417👍, 0💬

GetServerCertificate.java - Get Server Certificate
How to get the server certificate of a HTTPS Website? If you created a URL object with "new java.net.URL(...)", you can use the getServerCertificates() method on the HttpsURLConnection class to get the server certificate of a HTTPS Website: // Copyright (c) FYIcenter.com import java.net.*; import ja...
2018-03-31, 532👍, 0💬

SslCipherList.java - SSL Cipher List
How to get a list of SSL ciphers supported in jsse.jar? You can use the following sample Java code to a list of SSL ciphers supported in jsse.jar: // Copyright (c) FYIcenter.com import java.net.*; import java.io.*; import javax.net.ssl.*; public class SslCipherList { public static void main(String[]...
2018-03-31, 507👍, 0💬

SslClientCmd.java - SSL Client Command Example
How to create an SSL client program to run like a command? Here is an SSL client example program you can run like a command to communicate to any HTTPS web server: // Copyright (c) FYIcenter.com import java.net.*; import java.io.*; import javax.net.ssl.*; public class SslClientCmd { public static vo...
2018-03-31, 489👍, 0💬

SslSocketClient.java - SSL Socket Client Example
How to write an SSL socket client code to communicate to a HTTPS Website using jsse.jar? If you want to write an SSL socket client code to communicate to a HTTPS Website using jsse.jar, you can following the example below: // Copyright (c) FYIcenter.com import java.net.*; import java.io.*; import ja...
2018-03-31, 488👍, 0💬

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, 454👍, 0💬

Downloading and Reviewing WebSocket.jar
Where to find answers to frequently asked questions on Downloading and Reviewing WebSocket.jar. Here is a list of frequently asked questions and their answers compiled by FYIcenter.com team on Downloading and Reviewing WebSocket.jar: What Is WebSocket Protocol Handshake and Data Messages in WebSocke...
2018-03-30, 1818👍, 7💬

💬 2018-03-30 Joo: thanks

💬 2018-03-14 har: thanks

💬 2017-10-30 wang li: thankjs

(More comments ...)

-Djavax.net.debug - jsse.jar Debugging Options
How to use the -Djavax.net.debug jsse.jar debug option? If you are having trouble using jsse.jar, you can use the -Djavax.net.debug JVM property as described in this tutorial: Compile and run the example HttpsUrlReader.java provided in the previous tutorial with the -Djavax.net.debug=help property: ...
2018-03-24, 587👍, 0💬

HttpsUrlReader.java - Reading Data from HTTPS URL
How to read data from an HTTPS URL with jsse.jar? I want to see a Java program example. jsse.jar, Java Secure Socket Extension, allows you to communicate securely with an SSL-enabled web server by using the "https" URL protocol. Here is an example program, HttpsUrlReader.java, that can be used to re...
2018-03-24, 562👍, 0💬

HttpsUrlInfo.java - HTTPS URL Information
How to get more information about the HTTP URL object? It is created as "new java.net.URL(...)". If you created a URL object with "new java.net.URL(...)", you can use the sample Java code to get more information about the URL object: // Copyright (c) FYIcenter.com import java.net.*; import java.io.*...
2018-03-24, 520👍, 0💬

SSL Handshake Message Examples
How to get some SSL Handshake Message Examples? You can get SSL Handshake Message Examples as shown below: \fyicenter>\local\jdk-1 .8.0\bin\java-Djavax.net.debug=ssl:handshak e:dataHttpsUrlReader > ssl.log \fyicenter>edit ssl.log *** ClientHello, TLSv1.2 [write] MD5 and SHA1 has...
2018-03-24, 492👍, 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, 402👍, 0💬

Downloading jsse.jar (JDK 7) Java Secure Socket Extension
How to download and install jsse.jar (JDK 7) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Java library that enables secure Internet communications. jsse.jar (JDK 7) is included as part of the Java SE 7 package. You can follow this tutorial to download and install jsse.jar...
2018-02-14, 688👍, 0💬

Downloading jsse.jar (JDK 8) Java Secure Socket Extension
How to download and install jsse.jar (JDK 8) Java Secure Socket Extension? jsse.jar, Java Secure Socket Extension, is Java library that enables secure Internet communications. jsse.jar (JDK 8) is included as part of the Java SE 8 package. You can follow this tutorial to download and install jsse.jar...
2018-02-14, 594👍, 0💬

jsse.jar Features and Cryptographic Functionalities
What are main features and cryptographic functionalities supported in jsse.jar? jsse.jar JDK 8 version includes the following important features: Included as a standard component of the JDK Extensible, provider-based architecture Implemented in 100% pure Java Provides API support for SSL versions 2....
2018-02-14, 567👍, 0💬

1 2 3 4 5 > >>   Sort: Rank