1. Login into iplanet console http://hostname:port/
2. Click on Configuration and Click on new button
3. In the new window, Provide details as mention below
4. Name: Name of the configuration, we can give our desired name ( ex: krishna-secure)
Server Name: Name of the instance (Eg: https-krishna-secure)
Document Root: Root folder for the instance (Eg: /apps/Docroot/krishna-secure)
Server user : username of the server
5. Then click om Next button. Provide port number and IP address as * then click on next button
6. In next step, it will ask details for enabling java and regarding CGI and others. leave the default configuration as it is. No need to change anything.
7. In the Next screen, Select the available Node “krishna.mycomp.com” and Click on Add then Click on next
8. In the next screen we will see all the details we have entered previously for review and then click on finish button and then close button.
9. Now in the admin console, Click on Configurations tab. You can see the newly created instance.
10. Select the newly created instance and click on Deploy.
11. After clicking on deploy button you will see a popup window and click on deploy button in popup window.
12. After click on deploy button in popup window , In next step/window click on close button.
13. Now, select the newly created instance and click on Start Running.
14. To avoid the hostname conflict issues in instance configuration while starting instance, Update the hostname of server with existed entries in HTTP listener and Virtual Servers configuration.
Now we need to configure SSL and Weblogic proxy settings at Iplanet end.
1) Go to the newly created instance config directory
/apps/instances/https-krishna-secure/config
2) Open magnus.conf file add below lines and save the file
Init fn="load-modules" shlib="/apps/iplanet/lib/mod_wl.so"
Init fn="load-modules" shlib="libj2eeplugin.so" shlib_flags="(global|now)"
KernelThreads off
3) Open obj.conf, add the context path details of weblogic application like below.
<Object name="weblogic" ppath="*/krishnaapp/*">
Service fn="wl_proxy" WebLogicCluster="hostname1:port,hostname2:port,hostname3:port" PathTrim="/krishnaapp" PathPrepend="/Krishna_APPWL" WLProxySSL="ON" SecureProxy="ON" RequireSSLHostMatch="false" TrustedCAFile="/app/certs/hostnametrustedcas.pem" Debug="ERR" WLLogFile="/app/wlpluginlogs/wlproxy-krishna.log" WLTempDir="/app/wlpluginlogs" DebugConfigInfo="OFF"
</Object>
4) After changing the obj.conf and magnus.conf file you can see the in admin console as “Instance Configuration Modified”. To get reflect these change, deploy the changes on instance.
5) Generate the Iplanet certs with extension of .db, copy the same in config folder.
6)Go to admin console deploy the changes. Click on instance in admin console. Click on “HTTP Listeners”. Click on “http-listener-1”. Then click on SSL. Then click on “set passwords” button in next step/window. After clicking on “Set Passwords ” button, Please provide password and then click ok and close.
7) After clicking on Close button, Select SSL “Enabled” and “Server-cert” from dropdown. Click on Apply and close button.
8) Select “Deployment Pending” as top of screen .Select “Pull and deploy configuration from ” and click on ok.
9. Add the below parameters in server.xml to bypass starting of iplanet instance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<pkcs11>
<token>
<name>internal</name>
<pin>password</pin>
</token>
</pkcs11>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10. Now start the instance.
2. Click on Configuration and Click on new button
3. In the new window, Provide details as mention below
4. Name: Name of the configuration, we can give our desired name ( ex: krishna-secure)
Server Name: Name of the instance (Eg: https-krishna-secure)
Document Root: Root folder for the instance (Eg: /apps/Docroot/krishna-secure)
Server user : username of the server
5. Then click om Next button. Provide port number and IP address as * then click on next button
6. In next step, it will ask details for enabling java and regarding CGI and others. leave the default configuration as it is. No need to change anything.
7. In the Next screen, Select the available Node “krishna.mycomp.com” and Click on Add then Click on next
8. In the next screen we will see all the details we have entered previously for review and then click on finish button and then close button.
9. Now in the admin console, Click on Configurations tab. You can see the newly created instance.
10. Select the newly created instance and click on Deploy.
11. After clicking on deploy button you will see a popup window and click on deploy button in popup window.
12. After click on deploy button in popup window , In next step/window click on close button.
13. Now, select the newly created instance and click on Start Running.
14. To avoid the hostname conflict issues in instance configuration while starting instance, Update the hostname of server with existed entries in HTTP listener and Virtual Servers configuration.
Now we need to configure SSL and Weblogic proxy settings at Iplanet end.
1) Go to the newly created instance config directory
/apps/instances/https-krishna-secure/config
2) Open magnus.conf file add below lines and save the file
Init fn="load-modules" shlib="/apps/iplanet/lib/mod_wl.so"
Init fn="load-modules" shlib="libj2eeplugin.so" shlib_flags="(global|now)"
KernelThreads off
3) Open obj.conf, add the context path details of weblogic application like below.
<Object name="weblogic" ppath="*/krishnaapp/*">
Service fn="wl_proxy" WebLogicCluster="hostname1:port,hostname2:port,hostname3:port" PathTrim="/krishnaapp" PathPrepend="/Krishna_APPWL" WLProxySSL="ON" SecureProxy="ON" RequireSSLHostMatch="false" TrustedCAFile="/app/certs/hostnametrustedcas.pem" Debug="ERR" WLLogFile="/app/wlpluginlogs/wlproxy-krishna.log" WLTempDir="/app/wlpluginlogs" DebugConfigInfo="OFF"
</Object>
4) After changing the obj.conf and magnus.conf file you can see the in admin console as “Instance Configuration Modified”. To get reflect these change, deploy the changes on instance.
5) Generate the Iplanet certs with extension of .db, copy the same in config folder.
6)Go to admin console deploy the changes. Click on instance in admin console. Click on “HTTP Listeners”. Click on “http-listener-1”. Then click on SSL. Then click on “set passwords” button in next step/window. After clicking on “Set Passwords ” button, Please provide password and then click ok and close.
7) After clicking on Close button, Select SSL “Enabled” and “Server-cert” from dropdown. Click on Apply and close button.
8) Select “Deployment Pending” as top of screen .Select “Pull and deploy configuration from ” and click on ok.
9. Add the below parameters in server.xml to bypass starting of iplanet instance.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<pkcs11>
<token>
<name>internal</name>
<pin>password</pin>
</token>
</pkcs11>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10. Now start the instance.
No comments:
Post a Comment