![]() Basically, keytool stores two pieces of information: the private key and certificate into a single keystore file. keytool is a Java digital certificate management tool. In Java, we can use keytool (installed with JDK) to generate certificate. Since Java 1.6, there's a built-in HTTP/HTTPS server included with the J2EE SDK. The sender encrypts the information with public key and sends the data, then the receiver gets the information through decrypting the data with private key and vice versa. HTTPS uses digital certificate including a pair of private key and public key to verify the sender and receiver. HTTPS (Secure Hypertext Transfer Protocol) is a secured protocol and generally used to ensure safe communication over the Internet. ![]() ![]() This tip will expand the idea and create a simple HTTPS server. ![]() The simple server is flexible enough to incorporate into your own projects. In my last tip, I introduce how to create a simple HTTP server and it is available here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |