twitter
    !! Tell us what you want to Learn / Know !!
Showing posts with label how to configure ssl in glassfish. Show all posts
Showing posts with label how to configure ssl in glassfish. Show all posts

SSL

Secure Socket Layer (SSL) is a cryptographic protocol that provides communication security over internet.

For GlassFish v3 you will get a default SSL support. A self-signed certificate is stored in keystore.jks which is located in domain config directory.

Configuring Default SSL using HTTP Listener:

Through asadmin:

asadmin> create-http-listener  --listeneraddress  0.0.0.0  --listenerport  9000  --default-virtual-server  --securityEnabled=true  SecureListener  --port  4848


Through Admin console:

Step1:
     Click on the server-config.

     Click on the HTTP Service and click Http Listeners.

     Click New to create a new Http Listeners.


Step2:
     Enter SecureListener for Listener name.

     Enter 9000 as port

     Enable the Security checkbox.

     Click OK to create a new SSL HTTP Listener.