How to do it...

Follow these steps to complete this recipe:

  1. To complete this task, you need to access the Eclipse GlassFish remote command-line interface (CLI). You can do this by going to the following path:
$GLASSFISH_HOME/bin
  1. Once you are there, execute the following command:
./asadmin start-domain --verbose
  1. Once the server is up and running, execute the following command:
./asadmin
  1. When the prompt is ready, execute the following command:
create-ssl --type http-listener --certname cookbookCert http-listener-1
  1. Now, if you restart the server, your http-listener-1 will work with SSL. If you want to drop SSL from the listener, just go back to the prompt and execute the following command:
delete-ssl --type http-listener http-listener-1
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.172.252