Posts

Showing posts from March, 2024

Self-Signed SSL Certificate For Weblogic

Image
Self-Signed SSL Certificate for Weblogic To create a self-signed cert: keytool -genkeypair -alias vijay -keyalg RSA -sigalg SHA256withRSA -keysize 2048 -validity 365 -dname "cn=www.vijayarathinam.com, ou=WLS, o=Oracle, c=IN" -storepass password -keystore identity.jks keytool -export -alias vijay -file root.cer -keystore identity.jks -storepass password keytool -import -alias vijay -file root.cer -keystore trust.jks -storepass password -trustcacerts -noprompt  Below are the steps to configure with Weblogic Server: Step 1 : Login to Weblogic Admin console --> Environment --> Servers --> < server_name_where_ssl_has_to_be_configured > --> Configuration -> General --> SSL Listen Port Enabled ( Check ) Note : The default SSL Listen Port would be 7002, change it if required.  Step 2 : Click on Keystores tab under " Configuration " tab : Step 2a : Click on the drop-down menu next to Keystores and select "Custom Identity and Custom Trust"  S

SSL Certificate for WebLogic CA Singed

  SSL Certificate for WebLogic CA Singed Cert: Create a key store database: [root@localhost]# /opt/java/bin/keytool -genkey -alias lac -keystore key_weblogic.jks -storetype jks -keypass changeit -storepass changeit What is your first and last name?  [Unknown]: www.vijayarathinam.com What is the name of your organizational unit?  [Unknown]: IT What is the name of your organization?  [Unknown]: ITO What is the name of your City or Locality?  [Unknown]: Chennai What is the name of your State or Province?  [Unknown]: TN What is the two-letter country code for this unit?  [Unknown]: IN Is CN=www.vijayarathinam.com, OU=IT, O=ITO, L=Bengaluru, ST=KA, C=IN correct?  [no]: yes   To create a Certificate Signing Request: [root@localhost]# /opt/java/bin/keytool -certreq -alias vijay -keystore key_weblogic.jks -file lac_certreq.csr Enter keystore password:  [root@localhost]# ls vijay_certreq.csr lac_certreq.csr [root@localhost] Email this to your third party CA: Once you get a reply back from the C

WebLogic Horizontal Cluster Setup

 WebLogic Horizontal Cluster Setup For Horizontal Cluster we need to make sure that we run pack & unpack commands Pack is to create a jar file out of the existing domain on the local server (wls-node01).  Once completed Copy the same to the Remote Server (wls-node02). Then install Weblogic / if already installed remove the exiting domain. You can unpack the same on the server. Start the Admin server on (wls-node01). Start the Node Manager on (wls-node01). Start the Node Manager on (wls-node02). Add the NM of (wls-node02) to the (wls-node01) Admin Server using Admin Console. Try to monitor the NM of the (wls-node02) from the (wls-node01) Admin Console. Adding server to(wls-node02) machine from (wls-node01) Admin Server. Starting these servers on the (wls-node02). Enroll From (wls-node02) to (wls-node01). Starting these Server on (wls-node02) machine from the(wls-node01) admin console. Packing: Go to: cd /opt/Oracle/Middleware/Oracle_Home/wlserver/common/bin Run the pack command: [wl

WebLogic 12c Installation/Uninstallation Using CLI Mode:

 WebLogic 12c Installation/Uninstallation Using CLI Mode: To Install: You need to do the installation with the inventory location: /opt/Oracle/oraInventory/oraInst.loc $ mkdir -p /opt/Oracle/oraInventory/ $ vi /opt/Oracle/oraInventory/oraInst.loc Enter the following values in the above oraInst.loc: inventory_loc=/opt/Oracle/oraInventory/ inst_group=wlsuser Execute the command: $ cd /opt/software/WLS/ $ /opt/java/bin/java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /opt/software/SCRIPTS/12c_repository_file.xml -invPtrLoc /opt/Oracle/oraInventory/oraInst.loc To uninstall: Stop All the running services: Remove the Weblogic First: rm -rf /opt/Oracle/Middleware/ Remove the Oracle Inventory: rm -rf /opt/Oracle/oraInventory/ Good Luck Vijayarathinam

JAVA For WebLogic

 JAVA For WebLogic: Major Providers of JAVA: Sun JDK Sun java for Weblogic 12c & Tomcat IBM JDK IBM Java for Websphere JRockit JDK Oracle java for weblogic 8x 9x 10x 11x Open JDK Redhat java for JBOSS JROCKIT as our JAVA. Version 1.6 Sun JDK as our JAVA. Version 1.7 JAVA Installation: CLI Go to the location. cd /opt/software/java  Extract the tar file of the JDK 1.7.0_51 $ tar -xvf java_1.7_64.tar JAVA Installation: $ tar -xvf java_1.7_64.tar $ mv /opt/software/java/java /opt/ Uninstallation of Java /opt/java:  $ rm -rf /opt/java Post installation of JAVA: Checking the version of JAVA: $ /opt/java/bin/java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode) Setting up Environment Variable for JAVA: $ set PATH=/opt/java/bin/:$PATH $ export PATH=/opt/java/bin/:$PATH $ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM)