Mastering Java EE Development with WildFly by Stancapiano Luca

Mastering Java EE Development with WildFly by Stancapiano Luca

Author:Stancapiano, Luca [Stancapiano, Luca]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2017-06-20T04:00:00+00:00


Custom HTTPS configuration

Here is a guide to set HTTPS/TLS in our WebSocket endpoint starting from zero.

As the first thing, we need a new keystore. To create it, we can use via command line the standard Java keytool command:

keytool -genkey -alias websocket -keyalg RSA -keystore websocket.keystore -validity 10950

Enter keystore password: websocket

Re-enter new password: websocket

What is your first and last name?

[Unknown]: Luca Stancapiano

What is the name of your organizational unit?

[Unknown]: JBoss Middleware

What is the name of your organization?

[Unknown]: Vige

What is the name of your City or Locality?

[Unknown]: Rome

What is the name of your State or Province?

[Unknown]: IT

What is the two-letter country code for this unit?

[Unknown]: IT

Is CN=Luca Stancapiano, OU=JBoss Middleware, O=Vige, L=Rome, ST=IT, C=IT correct?

[no]: yes



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.