<< < 1 2 3 4 5 6 >   Sort: Date

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, 1571🔥, 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, 1533🔥, 0💬

What Is Apache HttpComponents
What is Apache HttpComponents? The Apache HttpComponents™ project is responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. The Hyper-Text Transfer Protocol (HTTP) is perhaps the most significant protocol used on the Internet today. ...
2017-07-04, 1482🔥, 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, 1468🔥, 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, 1455🔥, 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, 1451🔥, 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, 1444🔥, 0💬

What Is WebSocket API
What is WebSocket API? The WebSocket API is a programming interface specification to support WebSocket protocol, which enables Web pages to use the WebSocket protocol for two-way communication with the Website. The current version the WebSocket API specification is provided by W3C: The WebSocket API...
2018-01-24, 1341🔥, 0💬

WebSocket Opening Handshake Messages
How does the WebSocket Opening Handshake work? WebSocket Opening Handshake starts with the client sends the opening handshake request as an HTTP request message in the following format: GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: dGhlIHNhbXBs...
2018-01-27, 1333🔥, 0💬

Tyrus Implementation of WebSocket API
What is Tyrus Implementation of WebSocket API? The Tyrus Implementation of WebSocket API is the Reference Implementation of JSR 356: Java API for WebSocket specification. The Tyrus implementation is included in Java EE 7 SDK distribution package. The client side classes of the Java API for WebSocket...
2018-01-19, 1327🔥, 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, 1307🔥, 0💬

What Is WebSocket Protocol
What is WebSocket Protocol? The WebSocket Protocol is networking communication specification that enables Web pages to use the WebSocket protocol for two-way communication with the Website. WebSocket protocol is designed to be implemented in web browsers and web servers, but it can be used by any cl...
2018-01-27, 1292🔥, 0💬

What Is Java API for WebSocket
What is Java API for WebSocket? The Java API for WebSocket is the JSR (Java Specification Request) 356, which provides specifications of how WebSocket API should be implemented in Java. The current version the Java API for WebSocket specification is 1.1 and provided as JSR 356: Java API for WebSocke...
2018-01-24, 1243🔥, 0💬

WebSocket Client Class Object Information
How to get WebSocket Client object class information? I am using the Java EE 2 SDK distribution package. If you are using the Java EE 2 SDK distribution package, you can follow this tutorial to get WebSocket Client object class information: 1. Write a test Java class annotated as @ClientEndpoint: @C...
2018-01-16, 1222🔥, 0💬

WebSocket Protocol Applications
What are applications of using WebSocket protocol? Websocket protocol can be used in Web applications where browsers can use WebSocket connection for full-duplex, direct communication with remote server to access any server side services. The picture below shows a typical WebSocket Application Archi...
2018-01-24, 1219🔥, 0💬

Using WebSocket API in Java Programs
Where to find answers to frequently asked questions on Using WebSocket API in Java Programs. Here is a list of frequently asked questions and their answers compiled by FYIcenter.com team on Using WebSocket API in Java Programs: WebSocket Client Class Object Information WebSocketEchoClient.java - Web...
2018-01-19, 1207🔥, 0💬

Using HttpComponents API in Java Programs
Where to find answers to frequently asked questions on Using HttpComponents API in Java Programs. Here is a list of frequently asked questions and their answers compiled by FYIcenter.com team on Using HttpComponents API in Java Programs: Run QuickStart.java HttpComponents Client Example Run ClientWi...
2017-11-05, 1178🔥, 0💬

Download and Install HttpComponents Core Source Package
How to download and install HttpComponents Core Source Package? The source package contains Java source code files for HttpComponents Core. They are compressed into a single file like httpcomponents-core-5.2-src.zi p.You can compile them with different versions of JDK. You can download the source pa...
2022-11-17, 590🔥, 0💬

Download Java-WebSocket Implementation
How to download and install Java-WebSocket Implementation? Java-WebSocket is a barebones WebSocket server and client implementation written in 100% Java. The underlying classes are implemented java.nio, which allows for a non-blocking event-driven model. Implemented WebSocket protocol versions are: ...
2022-11-20, 565🔥, 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, 527🔥, 1💬

Download Jakarta WebSocket Server API 2.1.0
How to download and install Jakarta WebSocket Server API 2.1.0? Jakarta WebSocket Server API 2.1.0 supports Server and Client Endpoints for the WebSocket protocol (RFC6455). jakarta.websocket-api-2.1.0.ja ris the server side Java library. You can can download it by clicking the download button below...
2022-11-20, 526🔥, 0💬

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, 515🔥, 0💬

Download and Install HttpComponents Client Source Package
How to download and install HttpComponents Client Source Package? The source package contains Java source code files for HttpComponents Client. They are compressed into a single file like httpcomponents-client-5.2-src. zip.You can compile them with different versions of JDK. You can download the sou...
2022-11-17, 497🔥, 0💬

Donwload httpcomponents-client-4.5.3-bin.zip
How to download and install httpcomponents-client-4.5.3-bi n.zip?If you want to try HttpComponents Client component, you can follow this tutorial to download and install httpcomponents-client-4.5.3-bi n.zip:The Apache HttpComponents™ is responsible for creating and maintaining a toolset of low level...
2023-03-07, 458🔥, 0💬

<< < 1 2 3 4 5 6 >   Sort: Date