How to configure SSL on JBoss EAP

Create Connector Create Keystores keytool -genkey -alias mykey -keyalg RSA -keysize 1024 -dname “CN=myserver.beasys.com, OU=Customer Support, O=BEA Systems Inc, L=Denver, ST=Colorado, C=US” -keypass password -keystore identity.jks -storepass password keytool -selfcert -v -alias mykey -keypass password -keystore identity.jks -storepass password -storetype

Continue reading

Encrypting password in JBoss EAP

To encrypt password in Jboss using CLI, you can follow the steps below. This is particularly useful if you want to encrypt password for datasource.   1) export JBOSS_HOME=/pallavi/ 2) export CLASSPATH=/pallavi/jboss-eap-6.2/modules/system/layers/base/org/picketbox/main/picketbox-4.0.19.SP2-redhat-1.jar:/pallavi/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.2.GA-redhat-1.jar:$CLASSPATH 3) java org.picketbox.datasource.security.SecureIdentityLoginModule sa 4) Make changes in

Continue reading

Managing Password in JBOSS EAP

1. Navigate to …jboss-eap-5.1jboss-asserverserver1confprops . 2.  Open the jmx-console-roles.properties file and add roles as required.  I added the role saky , which I use to  login to jmx-console. Refer the sample file # A sample roles.properties file for use with the UsersRolesLoginModule admin=JBossAdmin,HttpInvoker saky=JBossAdmin,HttpInvoker 3.

Continue reading

Starting the default JBOSS server

1. Navigate to the path …jboss-eap-5.1jboss-asbin and open the command prompt. 2. Enter the command run.bat to start the JBOSS server Once, the command is executed the  default profile for  JBOSS server starts   3. To check the console, go to http://localhost:8080/admin-console 4. Enter the Username and Password

Continue reading