<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-267110444793059306</id><updated>2011-11-28T04:51:33.962+05:30</updated><category term='pem'/><category term='access control'/><category term='trustore'/><category term='installation'/><category term='LDAP basics'/><category term='unix'/><category term='open DS'/><category term='search'/><category term='ssl'/><category term='open ESB basics'/><category term='truststore'/><category term='Sun one LDAP 5.2'/><category term='TLS'/><category term='referrals'/><category term='open ldap'/><category term='import sample data'/><category term='keystore'/><category term='open esb terminologies'/><category term='DSEE 6.3'/><category term='keytool'/><title type='text'>All About Technology</title><subtitle type='html'>This blog is all about the SOA Technology and LDAP</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-7489049730350085858</id><published>2009-04-22T12:07:00.001+05:30</published><updated>2009-04-22T12:07:28.231+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='DSEE 6.3'/><title type='text'>Installation of Sun Directory Server Enterprise Edition (DSEE)</title><content type='html'>&lt;p&gt;&lt;strong&gt;Installation of Sun Directory Server Enterprise Edition (DSEE) on Windows:- &lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here are the complete steps :-&lt;/p&gt;&lt;br /&gt;&lt;p&gt;1. through command line&lt;br /&gt;D:\Softwares\LDAP\DSEE.6.3.Windows-X86-full\DSEE_ZIP_Distribution&gt;dsee_deploy.exe install -i C:\DSEE =============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;2. accept the license&lt;br /&gt;Do you accept the license terms ? &lt;yes&gt;: yesCheck availability of port 11162Checking running Directory Server instancesChecking running Directory Proxy Server instancesUnzipping sun-ldap-base.zip ...Unzipping sun-ldap-perl.zip ...Unzipping sun-ldap-dsrk6.zip ...Unzipping sun-ldapcsdk-tools.zip ...Unzipping sun-ldapcsdk-dev.zip ...Unzipping sun-ldap-ljdk.zip ...Unzipping sun-ldap-jre.zip ...Unzipping sun-ldap-shared.zip ...Unzipping sun-ldap-shared-l10n.zip ...Unzipping sun-ldap-directory.zip ...Unzipping sun-ldap-directory-l10n.zip ...Unzipping sun-ldap-directory-config.zip ...Unzipping sun-ldap-directory-dev.zip ...Unzipping sun-ldap-mfwk.zip ...Unzipping sun-ldap-cacao.zip ...Unzipping sun-ldap-console-agent.zip ...Unzipping sun-ldap-console-cli.zip ...Unzipping sun-ldap-console-common.zip ...Unzipping sun-ldap-console-var.zip ...Unzipping sun-ldap-jdmk.zip ...Unzipping sun-ldap-directory-client.zip ...Unzipping sun-ldap-directory-client-l10n.zip ...Unzipping sun-ldap-proxy.zip ...Unzipping sun-ldap-proxy-l10n.zip ...Unzipping sun-ldap-proxy-client.zip ...Unzipping sun-ldap-proxy-client-l10n.zip ...Unzipping sun-ldap-console-gui.zip ...Unzipping sun-ldap-console-gui-help.zip ...Unzipping sun-ldap-console-gui-l10n.zip ...Unzipping sun-ldap-console-gui-help-l10n.zip ...Creating WAR file for Console&lt;br /&gt;Configuring Cacao at D:/DSEE/dsee6/cacao_2Setting Cacao parameter jdmk-home with default value [D:\DSEE\dsee6\private]Setting Cacao parameter java-home with default value [D:\DSEE\jre]Setting Cacao parameter nss-lib-home with default value [D:\DSEE\dsee6\private\lib]Setting Cacao parameter nss-tools-home with default value [D:\DSEE\dsee6\bin]Registering DSCC agent into cacaoStarting Cacao if necessaryRegistering JESMF agent into CacaoInitializing JESMF...Registering DS in JESMF...Checking Cacao status...Deploying JESMF in Cacao...Deploying DS in JESMF...DS has been successfully registered in JESMF.Making a copy of dsee_deploy.exeMaking a copy of listrunnings.exeYou can now start your Directory Server InstancesYou can now start your Directory Proxy Server Instances&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;3. Create a Instance.&lt;/yes&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;D:\DSEE\ds6\bin&gt;dsadm create -p 1389 -P 636 D:\DSEE\instance&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Warning: 636 is a privileged port ; make sure that user 'Raghuvir Kamath' has right to use it before running start subcommand&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Choose the Directory Manager password:adminadmin&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Confirm the Directory Manager password:adminadmin&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Use 'dsadm start 'C:\DSEE\instance'' tado start the instance&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;4. Start the instance.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;D:\DSEE\ds6\bin&gt;dsadm start D:\DSEE\instance&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Waiting for Directory Server instance 'D:/DSEE/instance' to start...Directory Server instance 'D:/DSEE/instance' started: pid=2816&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;/p&gt;&lt;br /&gt;&lt;p&gt;5. Create a suffix&lt;/p&gt;&lt;br /&gt;&lt;p&gt;D:\DSEE\ds6\bin&gt;dsconf create-suffix -e -h localhost -p 1389 dc=example,dc=comEnter "cn=Directory Manager" password:adminadmin =============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;/p&gt;&lt;br /&gt;&lt;p&gt;6. Import the Example.ldif to the directory.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;D:\DSEE\ds6\bin&gt;dsconf import -e -h localhost -p 1389 D:\DSEE\ds6\ldif\Example.ldif dc=example,dc=comEnter "cn=Directory Manager" password:New data will override existing data of the suffix "dc=example,dc=com".Initialization will have to be performed on replicated suffixes.Do you want to continue [y/n] ? y## Index buffering enabled with bucket size 40## Beginning import job...## Processing file "D:\DSEE\ds6\ldif\Example.ldif"## Finished scanning file "D:\DSEE\ds6\ldif\Example.ldif" (160 entries)## Workers finished; cleaning up...## Workers cleaned up.## Cleaning up producer thread...## Indexing complete.## Starting numsubordinates attribute generation. This may take a while, please wait for further activity reports.## Numsubordinates attribute generation complete. Flushing caches...## Closing files...## Import complete. Processed 160 entries in 5 seconds. (32.00 entries/sec)&lt;br /&gt;Task completed (slapd exit code: 0).&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;/p&gt;&lt;br /&gt;&lt;p&gt;D:\DSEE\dsrk6\bin&gt;dir&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Volume in drive D has no label. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Volume Serial Number is 6C13-6887&lt;br /&gt;Directory of D:\DSEE\dsrk6\bin&lt;br /&gt;08/07/2008 03:41 PM &lt;/p&gt;.08/07/2008 03:41 PM ..03/11/2008 03:53 PM 54,431 authrate.exe03/11/2008 03:53 PM 2,263 cities03/11/2008 03:53 PM 54,449 dsmlmodify.exe03/11/2008 03:53 PM 54,449 dsmlsearch.exe03/11/2008 03:53 PM 3,636 example.template08/07/2008 03:32 PM &lt;dir&gt;example_files03/11/2008 03:53 PM 60,238 first.names03/11/2008 03:53 PM 106,146 last.names03/11/2008 03:30 PM 54,431 ldapcmp.exe03/11/2008 03:30 PM 54,431 ldapcompare.exe03/11/2008 03:30 PM 54,431 ldapdelete.exe03/11/2008 03:30 PM 54,431 ldapmodify.exe03/11/2008 03:30 PM 54,431 ldappasswd.exe03/11/2008 03:30 PM 54,431 ldapsearch.exe03/11/2008 03:53 PM 54,449 ldapsubtdel.exe03/11/2008 03:53 PM 54,431 ldifxform.exe03/11/2008 03:53 PM 107,868 logconv03/11/2008 03:53 PM 54,449 makeldif.exe03/11/2008 03:53 PM 54,431 modrate.exe03/11/2008 03:53 PM 54,431 searchrate.exe03/11/2008 03:53 PM 3,259 solaris.template03/11/2008 03:53 PM 153 states03/11/2008 03:53 PM 525 streets08/07/2008 03:41 PM 37,854 test.ldif08/07/2008 03:31 PM 554 test.template 24 File(s) 1,084,602 bytes 3 Dir(s) 36,942,323,712 bytes free &lt;/dir&gt;&lt;dir&gt;&lt;/dir&gt;D:\DSEE\dsrk6\bin&gt;makeldif -t test.template -o test.ldif&lt;br /&gt;&lt;p&gt;Processing complete.101 total entries written. =============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;&lt;br /&gt;D:\DSEE\dscc6\bin&gt;dsccsetup ads-create&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Choose password for Directory Service Manager:adminadmin&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Confirm password for Directory Service Manager:adminadmin&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Creating DSCC registry...&lt;/p&gt;&lt;br /&gt;&lt;p&gt;DSCC Registry has been created successfully&lt;br /&gt;&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;=============================================================================================================================================================&lt;br /&gt;To Deploy WAR File with Tomcat&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;just copy the war file from D:\DSEE\var\dscc6 to C:\apache-tomcat-6.0.13\webapps.&lt;/p&gt;Add the emphasized text in the ${CATALINA_BASE}/conf/web.xml file as shown below:&lt;br /&gt;&lt;br /&gt;...    &lt;servlet&gt;        &lt;servlet-name&gt;jsp&lt;/servlet-name&gt;        &lt;servlet-class&gt;org.apache.jasper.servlet.JspServlet&lt;/servlet-class&gt;        &lt;init-param&gt;            &lt;param-name&gt;fork&lt;/param-name&gt;            &lt;param-value&gt;false&lt;/param-value&gt;        &lt;/init-param&gt;        &lt;init-param&gt;            &lt;param-name&gt;xpoweredBy&lt;/param-name&gt;            &lt;param-value&gt;false&lt;/param-value&gt;        &lt;/init-param&gt; ...        &lt;init-param&gt;            &lt;param-name&gt;enablePooling&lt;/param-name&gt;            &lt;param-value&gt;false&lt;/param-value&gt;        &lt;/init-param&gt;        &lt;load-on-startup&gt;3&lt;/load-on-startup&gt;    &lt;/servlet&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Add the following entries in System variables &lt;/p&gt;&lt;br /&gt;&lt;p&gt;CATALINA_HOME C:\apache-tomcat-6.0.13&lt;/p&gt;&lt;br /&gt;&lt;p&gt;CATALINA_BASE C:\apache-tomcat-6.0.13&lt;br /&gt;Start the tomcat app server from C:\apache-tomcat-6.0.13\bin\startserver.bat&lt;br /&gt;in the console u will see &lt;/p&gt;&lt;br /&gt;INFO: Deploying web application archive dscc.warAug 13, 2008 12:30:03 PM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8080Aug 13, 2008 12:30:03 PM org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on /0.0.0.0:8009Aug 13, 2008 12:30:03 PM org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/47 config=nullAug 13, 2008 12:30:03 PM org.apache.catalina.startup.Catalina startINFO: Server startup in 9208 ms&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-7489049730350085858?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/7489049730350085858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=7489049730350085858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/7489049730350085858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/7489049730350085858'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2009/04/installation-of-sun-directory-server.html' title='Installation of Sun Directory Server Enterprise Edition (DSEE)'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-6223441549354046138</id><published>2009-04-22T11:31:00.018+05:30</published><updated>2009-04-22T12:04:11.688+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='TLS'/><category scheme='http://www.blogger.com/atom/ns#' term='open DS'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='trustore'/><category scheme='http://www.blogger.com/atom/ns#' term='keystore'/><title type='text'>Steps to configure Open DS with SSL</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(0, 0, 153);font-family:times new roman;font-size:180%;"  &gt;Step 1 :- Create keystore&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt; C:\Documents and Settings\Raghuvir Kamath&gt; keytool -genkey -alias server-cert -keyalg rsa -dname "CN=compapps.india.sun.com,O=SMI,C=IN" -keystore keystore -storetype JKS &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Enter keystore password:adminadmin &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Re-enter new password:adminadmin &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Enter key password for (RETURN if same as keystore password): &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;This will create "keystore" in the location C:\Documents and Settings\Raghuvir Kamath &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;font-family:times new roman;" &gt;Step 2:- Self sign the keystore &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Self Sign the certificate using keytool &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;D:\LDAP\openDS&gt;keytool -selfcert -alias server-cert -validity 1825 -keystore keystore -storetype JKS &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="font-family:times new roman;"&gt;Enter keystore password:adminadmin &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Step 3 :-Export the public key &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;D:\LDAP\openDS&gt;keytool -export -alias server-cert -file server-cert.txt -rfc -keystore keystore &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Enter keystore password:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Certificate stored in file &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Step 4:- Create a new truststore&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt; keytool -import -alias server-cert -file server-cert.txt -keystore truststore -storetype JKS &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Type yes when you are prompted about whether you want to trust the certificate. &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="font-family:times new roman;"&gt;This step is needed only if the SSL and StartTLS settings were not specified during installation or if you want to change those settings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;Step 5:- Install Open DS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;&lt;br /&gt;Install Open DS 1.0.0 from the web as webinstaller https://opends.dev.java.net/ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Step 6:- Configure SSL during installation &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);font-size:130%;" &gt;&lt;span style="font-family:times new roman;"&gt;While installing , configure OpenDS for SSL , use existing keystore , the one created in step 2. give the keystore as input. Refer screenshots for this.&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Q9EmyfHY2kA/Se64JSaHJ-I/AAAAAAAAFMc/rzXsYXdsKFM/s1600-h/During_Setup_SSL_Parameters_VALID_%26_Working.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 210px;" src="http://1.bp.blogspot.com/_Q9EmyfHY2kA/Se64JSaHJ-I/AAAAAAAAFMc/rzXsYXdsKFM/s320/During_Setup_SSL_Parameters_VALID_%26_Working.JPG" alt="" id="BLOGGER_PHOTO_ID_5327397878925567970" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Q9EmyfHY2kA/Se64wvBF9hI/AAAAAAAAFMs/mbAP_pQpax4/s1600-h/SSL_config_success_confirmation.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 194px;" src="http://4.bp.blogspot.com/_Q9EmyfHY2kA/Se64wvBF9hI/AAAAAAAAFMs/mbAP_pQpax4/s320/SSL_config_success_confirmation.JPG" alt="" id="BLOGGER_PHOTO_ID_5327398556620158482" border="0" /&gt;&lt;/a&gt;To Check if SSL and TLS is enabled on your LDAP server is use the statuspanel.bat from your LDAP server installation folder.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Q9EmyfHY2kA/Se64kuLWGKI/AAAAAAAAFMk/1aN1E1mto7w/s1600-h/ldaps_to_Confirm_SSL_is_Configured_Successfully.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 290px; height: 320px;" src="http://1.bp.blogspot.com/_Q9EmyfHY2kA/Se64kuLWGKI/AAAAAAAAFMk/1aN1E1mto7w/s320/ldaps_to_Confirm_SSL_is_Configured_Successfully.JPG" alt="" id="BLOGGER_PHOTO_ID_5327398350236293282" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-6223441549354046138?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/6223441549354046138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=6223441549354046138' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/6223441549354046138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/6223441549354046138'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2009/04/steps-to-configure-open-ds-with-ssl.html' title='Steps to configure Open DS with SSL'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Q9EmyfHY2kA/Se64JSaHJ-I/AAAAAAAAFMc/rzXsYXdsKFM/s72-c/During_Setup_SSL_Parameters_VALID_%26_Working.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-4472243662837836038</id><published>2009-04-20T12:40:00.000+05:30</published><updated>2009-04-20T14:28:11.474+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='truststore'/><category scheme='http://www.blogger.com/atom/ns#' term='open ldap'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='pem'/><category scheme='http://www.blogger.com/atom/ns#' term='keystore'/><title type='text'>Configuring Open LDAP with SSL</title><content type='html'>&lt;span style="color: rgb(0, 0, 153);font-size:180%;" &gt;&lt;span style="font-weight: bold;"&gt;Steps to configure Open LDAP with SSL &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;1. Install Open ssl on unix machine. ( here i have used a solaris sparc machine )&lt;br /&gt;&lt;br /&gt;Get the software from http://www.sunfreeware.com/indexsparc10.html&lt;br /&gt;" &lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;openssl-0.9.8j-sol10-sparc-local.gz&lt;/span&gt; "&lt;br /&gt;&lt;br /&gt;Now login to your solaris sparc box as "root" , root access has to be there ,else it wont install.&lt;br /&gt;&lt;br /&gt;run pkgadd command , to check if it working. then unzip the files using "gunzip filename"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;run pkgadd -d openssl-0.9.8j-sol10-sparc-local&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt; &lt;/span&gt;and similarly install all the packages&lt;br /&gt;&lt;br /&gt;This will get installed in /usr/local/ssl/  by default.&lt;br /&gt;&lt;br /&gt;==========================================================================&lt;br /&gt;&lt;br /&gt;2. Set the path on the unix machine to use this open ssl .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# PATH=$PATH:/usr/local/ssl/bin:.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# export PATH&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# which openssl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;/usr/local/ssl/bin/openssl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# echo $PATH&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;/usr/local/ssl/bin:.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;======================================================================&lt;br /&gt;&lt;br /&gt;3. Create a CA root certificate&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# mkdir openldapcerts&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# cd openldapcerts&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00$ pwd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;/home/rk208995/openldapcerts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;run the below command , enter the password as "adminadmin" , then enter country , state , city , for Common name , enter the FQDN of the local machine. here it is iecsoa1&lt;br /&gt;At the end it asks for password again , enter "adminadmin"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00$ /usr/local/ssl/misc/CA.sh -newca&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;CA certificate filename (or enter to create)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Making CA certificate ...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Generating a 1024 bit RSA private key&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;.............++++++&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;................++++++&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;writing new private key to './demoCA/private/./cakey.pem'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter PEM pass phrase:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Verifying - Enter PEM pass phrase:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;-----&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;You are about to be asked to enter information that will be incorporated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;into your certificate request.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;There are quite a few fields but you can leave some blank&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;For some fields there will be a default value,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;If you enter '.', the field will be left blank.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;-----&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Country Name (2 letter code) [AU]:IN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;State or Province Name (full name) [Some-State]:Karnataka&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Locality Name (eg, city) []:Bangalore&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Organization Name (eg, company) [Internet Widgits Pty Ltd]:SMI&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Organizational Unit Name (eg, section) []:SMI&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Common Name (eg, YOUR name) []:iecsoa1.india.sun.com&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Email Address []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Please enter the following 'extra' attributes &lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;to be sent with your certificate request&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;A challenge password []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;An optional company name []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Using configuration from /usr/local/ssl/openssl.cnf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter pass phrase for ./demoCA/private/./cakey.pem:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Check that the request matches the signature&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Signature ok&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate Details:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Serial Number: 0 (0x0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Validity&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not Before: Apr 20 03:47:43 2009 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not After : Apr 19 03:47:43 2012 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Subject:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            countryName               = IN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            stateOrProvinceName       = Karnataka&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            organizationName          = SMI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            organizationalUnitName    = SMI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            commonName                = iecsoa1.india.sun.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        X509v3 extensions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Basic Constraints:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                CA:FALSE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Netscape Comment:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                OpenSSL Generated Certificate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Subject Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                F7:77:14:1C:86:D3:F3:4E:9A:EE:7C:D1:E3:80:27:66:56:4B:0F:D2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Authority Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                keyid:F7:77:14:1C:86:D3:F3:4E:9A:EE:7C:D1:E3:80:27:66:56:4B:0F:D2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate is to be certified until Apr 19 03:47:43 2012 GMT (1095 days)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Write out database with 1 new entries&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Data Base Updated&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;======================================================================&lt;br /&gt;4.  Create a CSR for the ldap server&lt;br /&gt;&lt;br /&gt;Note:  When asked for a 'Common Name', you must enter the ldap url in the following format,&lt;br /&gt;   ldaps://&lt;fqdn&gt;:&lt;ssl-port&gt;&lt;br /&gt;  e.g. ldaps://ldapserver.com:636&lt;br /&gt;&lt;br /&gt;This will create a csr “newreq.pem”&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;bash-3.00$ openssl req -newkey  rsa:1024  -nodes -keyout newreq.pem -out newreq.pem&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Generating a 1024 bit RSA private key&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;.............................++++++&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;..................++++++&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;writing new private key to 'newreq.pem'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;-----&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;You are about to be asked to enter information that will be incorporated&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;into your certificate request.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;There are quite a few fields but you can leave some blank&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;For some fields there will be a default value,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;If you enter '.', the field will be left blank.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;-----&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Country Name (2 letter code) [AU]:IN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;State or Province Name (full name) [Some-State]:Karnataka&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Locality Name (eg, city) []:Bangalore&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Organization Name (eg, company) [Internet Widgits Pty Ltd]:SMI&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Organizational Unit Name (eg, section) []:SMI&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Common Name (eg, YOUR name) []:ldaps://iecsoa1.india.sun.com:636&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Email Address []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;Please enter the following 'extra' attributes&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;to be sent with your certificate request&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;A challenge password []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;An optional company name []:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;bash-3.00$ ls&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;"&gt;demoCA      newreq.pem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;=======================================================================&lt;br /&gt;&lt;br /&gt;5.Use the CA to sign the CSR , enter password as "adminadmin"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00$ /usr/local/ssl/misc/CA.sh -sign&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Using configuration from /usr/local/ssl/openssl.cnf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter pass phrase for ./demoCA/private/cakey.pem:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Check that the request matches the signature&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Signature ok&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate Details:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Serial Number: 1 (0x1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Validity&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not Before: Apr 20 03:54:29 2009 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not After : Apr 20 03:54:29 2010 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Subject:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            countryName               = IN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            stateOrProvinceName       = Karnataka&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            localityName              = Bangalore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            organizationName          = SMI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            organizationalUnitName    = SMI&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            commonName                = ldaps://iecsoa1.india.sun.com:636&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        X509v3 extensions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Basic Constraints:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                CA:FALSE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Netscape Comment:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                OpenSSL Generated Certificate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Subject Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                C3:4B:3E:75:0C:2F:CB:23:79:BB:3B:F2:61:61:63:F9:E9:F2:D9:91&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Authority Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                keyid:F7:77:14:1C:86:D3:F3:4E:9A:EE:7C:D1:E3:80:27:66:56:4B:0F:D2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate is to be certified until Apr 20 03:54:29 2010 GMT (365 days)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Sign the certificate? [y/n]:y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;1 out of 1 certificate requests certified, commit? [y/n]y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Write out database with 1 new entries&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Data Base Updated&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;    Data:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Version: 3 (0x2)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Serial Number: 1 (0x1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Signature Algorithm: sha1WithRSAEncryption&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Issuer: C=IN, ST=Karnataka, O=SMI, OU=SMI, CN=iecsoa1.india.sun.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Validity&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not Before: Apr 20 03:54:29 2009 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Not After : Apr 20 03:54:29 2010 GMT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Subject: C=IN, ST=Karnataka, L=Bangalore, O=SMI, OU=SMI, CN=ldaps://iecsoa1.india.sun.com:636&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        Subject Public Key Info:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Public Key Algorithm: rsaEncryption&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            RSA Public Key: (1024 bit)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                Modulus (1024 bit):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    00:c4:26:62:b3:3a:50:cb:0a:5d:c6:e0:b6:e6:72:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    6a:6e:ba:a5:7f:6d:4e:e5:54:36:95:db:72:87:19:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    8e:64:f3:07:81:f8:59:51:ef:03:0a:72:13:eb:dc:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    8d:38:14:39:cc:ad:cb:16:db:f9:12:44:24:a7:c0:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    c8:1e:8a:b6:b3:b3:b4:9e:aa:7f:b2:3e:76:80:8a:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    19:70:02:2b:4d:c5:5f:e8:f3:83:71:51:05:61:37:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    a1:1b:fd:85:91:6f:74:22:1b:01:e8:5e:e8:4d:15:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    b2:9c:2e:f3:0e:c9:b6:a0:5b:8f:1c:4b:b9:ee:77:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                    bd:ea:69:5b:f9:83:1c:db:ff&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                Exponent: 65537 (0x10001)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        X509v3 extensions:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Basic Constraints:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                CA:FALSE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            Netscape Comment:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                OpenSSL Generated Certificate&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Subject Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                C3:4B:3E:75:0C:2F:CB:23:79:BB:3B:F2:61:61:63:F9:E9:F2:D9:91&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;            X509v3 Authority Key Identifier:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;                keyid:F7:77:14:1C:86:D3:F3:4E:9A:EE:7C:D1:E3:80:27:66:56:4B:0F:D2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;    Signature Algorithm: sha1WithRSAEncryption&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        15:fd:e0:f4:06:92:3d:57:72:1d:9e:43:53:b6:bd:c8:0e:35:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        fa:7c:24:6a:c3:d9:f5:63:4d:00:74:de:80:86:4c:9e:7d:6f:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        09:f7:cb:de:6c:6b:70:1f:d9:7c:62:98:79:5a:fa:68:96:a0:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        a4:45:de:84:43:db:a8:01:d8:f8:45:33:dd:e8:ca:18:5d:51:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        28:b2:51:28:45:07:c8:41:e5:72:1b:fd:6c:f3:df:0e:61:47:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        e5:7f:ea:6d:ed:a8:15:91:bc:90:be:c8:00:1c:50:1a:ce:50:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        be:ac:65:d5:23:96:12:f6:62:2f:9e:7f:24:38:1f:74:32:7d:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;        a9:0a&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;-----BEGIN CERTIFICATE-----&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;MIICyzCCAjSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBdMQswCQYDVQQGEwJJTjES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;MBAGA1UECBMJS2FybmF0YWthMQwwCgYDVQQKEwNTTUkxDDAKBgNVBAsTA1NNSTEe&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;MBwGA1UEAxMVaWVjc29hMS5pbmRpYS5zdW4uY29tMB4XDTA5MDQyMDAzNTQyOVoX&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;DTEwMDQyMDAzNTQyOVowfTELMAkGA1UEBhMCSU4xEjAQBgNVBAgTCUthcm5hdGFr&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;YTESMBAGA1UEBxMJQmFuZ2Fsb3JlMQwwCgYDVQQKEwNTTUkxDDAKBgNVBAsTA1NN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;STEqMCgGA1UEAxMhbGRhcHM6Ly9pZWNzb2ExLmluZGlhLnN1bi5jb206NjM2MIGf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEJmKzOlDLCl3G4LbmcmpuuqV/bU7l&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;VDaV23KHGY5k8weB+FlR7wMKchPr3I04FDnMrcsW2/kSRCSnwMgeirazs7Seqn+y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;PnaAihlwAitNxV/o84NxUQVhN6Eb/YWRb3QiGwHoXuhNFbKcLvMOybagW48cS7nu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;d73qaVv5gxzb/wIDAQABo3sweTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1P&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;cGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUw0s+dQwvyyN5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;uzvyYWFj+eny2ZEwHwYDVR0jBBgwFoAU93cUHIbT806a7nzR44AnZlZLD9IwDQYJ&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;KoZIhvcNAQEFBQADgYEAFf3g9AaSPVdyHZ5DU7a9yA41+nwkasPZ9WNNAHTegIZM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;nn1vCffL3mxrcB/ZfGKYeVr6aJagpEXehEPbqAHY+EUz3ejKGF1RKLJRKEUHyEHl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;chv9bPPfDmFH5X/qbe2oFZG8kL7IABxQGs5Qvqxl1SOWEvZiL55/JDgfdDJ9qQo=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;-----END CERTIFICATE-----&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Signed certificate is in newcert.pem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00$ ls&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;demoCA       newcert.pem  newreq.pem&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;==================================================================&lt;br /&gt;6.This creates newcert.pem (server certificate signed by CA) with private key, newreq.pem&lt;br /&gt;&lt;br /&gt;So far we have created only the certificates needs to be used by the openldap server. Lets see how to configure the openldap using this certificates ...&lt;br /&gt;&lt;br /&gt;Stop the openldap if it is already running :-&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# ps -ef | grep slapd&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;    root 26718 26710   0 11:09:04 pts/2       0:00 grep slapd&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;    root  7915     1   0   Apr 17 ?           0:00 ./slapd&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# kill -9 7915&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# ps -ef | grep slapd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;    root 26720 26710   0 11:09:28 pts/2       0:00 grep slapd&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# netstat -an | egrep '389|636'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;no process running on port 389 or 636&lt;br /&gt;&lt;br /&gt;=======================================================================&lt;br /&gt;7. Copy the certificates to the ldap directory&lt;br /&gt;&lt;br /&gt;  a ) Copy cacert.pem      -   CA root certificate from Demo CA folder to  /usr/local/var/openldap-data&lt;br /&gt;  b ) rename newcert.pem  to servercrt.pem&lt;br /&gt;  c ) rename newreq.pem   to serverkey.pem&lt;br /&gt;  d ) Copy servercrt.pem and serverkey.pem to  /usr/local/var/openldap-data&lt;br /&gt;&lt;br /&gt;so  /usr/local/var/openldap-data has 3 new files in it&lt;br /&gt;cacert.pem , servercrt.pem , serverkey.pem&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==============================================================================&lt;br /&gt;8. Edit the slapd.conf file from /usr/local/etc/openldap and add the following entry in to it below the entry&lt;br /&gt;                      "argsfile    /usr/local/var/run/slapd.args "&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;TLSCipherSuite HIGH:MEDIUM:+SSLv2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;TLSCACertificateFile /usr/local/var/openldap-data/cacert.pem&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;TLSCertificateFile /usr/local/var/openldap-data/servercrt.pem&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;TLSCertificateKeyFile /usr/local/var/openldap-data/serverkey.pem&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;# Client verification not required&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;TLSVerifyClient never&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=================================================================================&lt;br /&gt;9.Start the openldap server by using the following command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;# cd /usr/local/libexec&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;# ../slapd -h “ldap://iecsoa1:389 ldaps://iecsoa1:636”&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter PEM pass phrase:adminadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Check to see the processes are listening in the configured ports&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;# netstat -an | egrep '389|636'&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;10.12.185.65.389          *.*                0      0 49152      0 LISTEN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;10.12.185.65.636          *.*                0      0 49152      0 LISTEN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Use any external ldap-browser to connect to the both the URLs and check.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=================================================================================&lt;br /&gt;For the client side , we have to use the server certificate , So we have to create keystore and trustore&lt;br /&gt;&lt;br /&gt;Steps to create Client Truststore and Keystore from Server certificate .&lt;br /&gt;&lt;br /&gt;First Convert from pem to jks format&lt;br /&gt;&lt;br /&gt;Now to create Client Trust - store and key store&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;1. bash-3.00# pwd&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;/usr/local/ssl/bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# openssl pkcs8 -topk8 -nocrypt -in /usr/local/ssl/mycerts/demoCA/private/cakey.pem -inform PEM -out key.der -outform DER&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter pass phrase for /usr/local/ssl/mycerts/demoCA/private/cakey.pem:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# openssl x509 -in /usr/local/ssl/mycerts/demoCA/cacert.pem -inform PEM -out cert.der -outform DER&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;bash-3.00# ls&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;c_rehash  cert.der  key.der   openssl&lt;/span&gt;&lt;br /&gt;&lt;/ssl-port&gt;&lt;/fqdn&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;2. Create a keystore using the java program&lt;br /&gt;&lt;br /&gt;java program can be found at &lt;a href="http://sites.google.com/site/raghuvirkamath/Home/ImportKey.java?attredirects=0"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;3. To view the contents of the keystore  use this command&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-style: italic;font-family:times new roman;font-size:130%;"  &gt;C:\Documents and Settings\admin\Desktop\openldapCerts&gt;keytool -list -v -keystore keystore.jks&lt;br /&gt;&lt;br /&gt;Enter keystore password:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Keystore type: JKS&lt;br /&gt;Keystore provider: SUN&lt;br /&gt;&lt;br /&gt;Your keystore contains 1 entry&lt;br /&gt;&lt;br /&gt;Alias name: client&lt;br /&gt;Creation date: Apr 20, 2009&lt;br /&gt;Entry type: PrivateKeyEntry&lt;br /&gt;Certificate chain length: 1&lt;br /&gt;Certificate[1]:&lt;br /&gt;Owner: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;br /&gt;Issuer: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;br /&gt;Serial number: 0&lt;br /&gt;Valid from: Mon Apr 20 09:17:43 IST 2009 until: Thu Apr 19 09:17:43 IST 2012&lt;br /&gt;Certificate fingerprints:&lt;br /&gt;      MD5:  7C:22:37:66:C8:BE:A8:36:6B:37:5A:A8:EC:08:72:0B&lt;br /&gt;      SHA1: 84:5D:9A:32:13:EC:F5:19:19:5E:B6:1C:9C:DB:90:7A:65:EC:F5:F1&lt;br /&gt;      Signature algorithm name: SHA1withRSA&lt;br /&gt;      Version: 3&lt;br /&gt;&lt;br /&gt;Extensions:&lt;br /&gt;&lt;br /&gt;#1: ObjectId: 2.5.29.14 Criticality=false&lt;br /&gt;SubjectKeyIdentifier [&lt;br /&gt;KeyIdentifier [&lt;br /&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;br /&gt;0010: 56 4B 0F D2                                        VK..&lt;br /&gt;]&lt;br /&gt;]&lt;br /&gt;&lt;br /&gt;#2: ObjectId: 2.5.29.19 Criticality=false&lt;br /&gt;BasicConstraints:[&lt;br /&gt;CA:false&lt;br /&gt;PathLen: undefined&lt;br /&gt;]&lt;br /&gt;&lt;br /&gt;#3: ObjectId: 2.5.29.35 Criticality=false&lt;br /&gt;AuthorityKeyIdentifier [&lt;br /&gt;KeyIdentifier [&lt;br /&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;br /&gt;0010: 56 4B 0F D2                                        VK..&lt;br /&gt;]&lt;br /&gt;&lt;br /&gt;]&lt;br /&gt;&lt;br /&gt;#4: ObjectId: 2.16.840.1.113730.1.13 Criticality=false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*******************************************&lt;br /&gt;*******************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;4. use keytool to generate trust store ( note the default alias is "client" )&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;C:\Documents and Settings\admin\Desktop\openldapCerts&gt;keytool -export -alias client -storepass adminadmin -file client.cer -keystore keystore.jks&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate stored in file &lt;client.cer&gt;&lt;/client.cer&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;Import the above certificate to a new Truststore named "trustore"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;C:\Documents and Settings\admin\Desktop\openldapCerts&gt;keytool -import -alias client -file client.cer -keystore truststore&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter keystore password:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Re-enter new password:adminadmin&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Owner: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Issuer: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Serial number: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Valid from: Mon Apr 20 09:17:43 IST 2009 until: Thu Apr 19 09:17:43 IST 2012&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate fingerprints:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         MD5:  7C:22:37:66:C8:BE:A8:36:6B:37:5A:A8:EC:08:72:0B&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         SHA1: 84:5D:9A:32:13:EC:F5:19:19:5E:B6:1C:9C:DB:90:7A:65:EC:F5:F1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         Signature algorithm name: SHA1withRSA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         Version: 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Extensions:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#1: ObjectId: 2.5.29.14 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;SubjectKeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;KeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0010: 56 4B 0F D2                                        VK..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#2: ObjectId: 2.5.29.19 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;BasicConstraints:[&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;  CA:false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;  PathLen: undefined&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#3: ObjectId: 2.5.29.35 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;AuthorityKeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;KeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0010: 56 4B 0F D2                                        VK..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#4: ObjectId: 2.16.840.1.113730.1.13 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Trust this certificate? [no]:  yes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate was added to keystore&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;To View contents of the trustore&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;C:\Documents and Settings\admin\Desktop\openldapCerts&gt;keytool -list -v -keystore truststore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Enter keystore password:adminadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Keystore type: JKS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Keystore provider: SUN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Your keystore contains 1 entry&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Alias name: client&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Creation date: Apr 20, 2009&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Entry type: trustedCertEntry&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Owner: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Issuer: CN=iecsoa1.india.sun.com, OU=SMI, O=SMI, ST=Karnataka, C=IN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Serial number: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Valid from: Mon Apr 20 09:17:43 IST 2009 until: Thu Apr 19 09:17:43 IST 2012&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Certificate fingerprints:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         MD5:  7C:22:37:66:C8:BE:A8:36:6B:37:5A:A8:EC:08:72:0B&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         SHA1: 84:5D:9A:32:13:EC:F5:19:19:5E:B6:1C:9C:DB:90:7A:65:EC:F5:F1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         Signature algorithm name: SHA1withRSA&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;         Version: 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;Extensions:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#1: ObjectId: 2.5.29.14 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;SubjectKeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;KeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0010: 56 4B 0F D2                                        VK..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#2: ObjectId: 2.5.29.19 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;BasicConstraints:[&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;  CA:false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;  PathLen: undefined&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#3: ObjectId: 2.5.29.35 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;AuthorityKeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;KeyIdentifier [&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0000: F7 77 14 1C 86 D3 F3 4E   9A EE 7C D1 E3 80 27 66  .w.....N......'f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;0010: 56 4B 0F D2                                        VK..&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;#4: ObjectId: 2.16.840.1.113730.1.13 Criticality=false&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;*******************************************&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 0);"&gt;*******************************************&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;======================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);font-family:times new roman;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-4472243662837836038?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/4472243662837836038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=4472243662837836038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/4472243662837836038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/4472243662837836038'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2009/04/configuring-open-ldap-with-ssl.html' title='Configuring Open LDAP with SSL'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-3589744896473485909</id><published>2009-03-19T15:31:00.001+05:30</published><updated>2009-04-22T12:04:48.673+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='open ldap'/><category scheme='http://www.blogger.com/atom/ns#' term='installation'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='import sample data'/><title type='text'>Installing Open LDAP 2.4.11 on SOLARIS SPARC</title><content type='html'>&lt;span style="font-size:130%;"&gt;Steps :-&lt;br /&gt;&lt;br /&gt;1. Download the binaries from http://www.sunfreeware.com/indexsparc10.html&lt;br /&gt;&lt;br /&gt;or download all these from here :- &lt;a href="http://sites.google.com/site/raghuvirkamath/Home/openldap2.4.11_Part1.zip?attredirects=0"&gt;Part1&lt;/a&gt; and &lt;a href="http://sites.google.com/site/raghuvirkamath/Home/openldap2.4.11_Part2.zip?attredirects=0"&gt;Part2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The download will contain the following packages -&lt;br /&gt;&lt;br /&gt;db-4.2.52.NC-sol10-sparc-local.gz&lt;br /&gt;openldap-stable-20080813.tgz&lt;br /&gt;libgcc-3.4.6-sol10-sparc-local.gz&lt;br /&gt;openssl-0.9.8j-sol10-sparc-local.gz&lt;br /&gt;openldap-2.4.11-sol10-sparc-local.gz&lt;br /&gt;sasl-2.1.21-sol10-sparc-local.gz&lt;br /&gt;&lt;br /&gt;2. Now login to your solaris sparc box as "root" , root access has to be there ,else it wont install.&lt;br /&gt;&lt;br /&gt;3. run pkgadd command , to check if it working. then unzip the files using "gunzip filename"&lt;br /&gt;&lt;br /&gt;4. run pkgadd -d db-4.2.52.NC-sol10-sparc-local and similarly install all the packages&lt;br /&gt;&lt;br /&gt;5. After installing all the packages , configure slapd.conf file based on your requirements .&lt;br /&gt;slapd.conf can be located at /usr/local/etc/openldap&lt;br /&gt;&lt;br /&gt;the sample slapd.conf will look like&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;include        /usr/local/etc/openldap/schema/core.schema&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;include        /usr/local/etc/openldap/schema/cosine.schema&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;include        /usr/local/etc/openldap/schema/inetorgperson.schema&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;pidfile       /usr/local/var/run/slapd.pid&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;argsfile    /usr/local/var/run/slapd.args&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;database    bdb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;suffix        "dc=example,dc=com"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;rootdn        "cn=Manager,dc=example,dc=com"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;rootpw        adminadmin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;directory    /usr/local/var/openldap-data&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;index default pres,eq&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;index objectClass eq&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;index uid,cn,sn&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-size:130%;"&gt;6. Start slapd using the command from /usr/local/libexec&lt;br /&gt;&lt;span style="font-style: italic;"&gt;./slapd -f ../etc/openldap/slapd.conf&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;7. Now the connect the open ldap using our ldapbrowser&lt;br /&gt;ensure that "append base dn" is checked .&lt;br /&gt;&lt;br /&gt;8. After connecting import the following for the base dn&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;dn: dc=example,dc=com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dc: example&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: top&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: dcObject&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: organization&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;o: root&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ou: mostral&lt;br /&gt;&lt;br /&gt;9&lt;/span&gt;. then import the actual data , sample would be like&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dn: ou=mostral, dc=example,dc=com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ou: mostral&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: top&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: organizationalunit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;dn: uid=scarter,ou=mostral, dc=example,dc=com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;givenName: Sam&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;sn: Carter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;telephoneNumber: +1 408 555 4798&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;userPassword:: e1NTSEF9UmIxZk9JL2x5TlQ3bGFEc0FKaEhJdEs4bW9LbkVBSWZEMWpNU0E9PQ&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; ==&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ou: Accounting&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ou: mostral&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;l: Sunnyvale&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;roomNumber: 4612&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;mail: scarter@example.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;facsimileTelephoneNumber: +1 408 555 9751&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: top&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: person&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: organizationalPerson&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;objectClass: inetOrgPerson&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;uid: scarter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;cn: Sam Carter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now open ldap 2.4.11 is ready to use with some sample data in it . &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-3589744896473485909?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/3589744896473485909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=3589744896473485909' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/3589744896473485909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/3589744896473485909'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2009/03/installing-open-ldap-2411-on-solaris.html' title='Installing Open LDAP 2.4.11 on SOLARIS SPARC'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-7107783309351173088</id><published>2008-08-13T15:04:00.001+05:30</published><updated>2009-04-22T12:05:15.017+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sun one LDAP 5.2'/><title type='text'>More on LDAP</title><content type='html'>&lt;div&gt;For Sun - One LDAP 5.2 config&lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt;- For Add operation the credentials are :- &lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;location = "&lt;/span&gt;&lt;a href="ldap://localhost:1389/"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;ldap://localhost:1389&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;"            &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;        principal = "uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot"  &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;                  credential = "STC"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-7107783309351173088?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/7107783309351173088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=7107783309351173088' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/7107783309351173088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/7107783309351173088'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2008/08/more-on-ldap.html' title='More on LDAP'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-8914636988304554226</id><published>2008-07-03T13:16:00.001+05:30</published><updated>2009-04-22T12:05:39.923+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='open ESB basics'/><title type='text'>All about Open ESB</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;Architecture&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_Q9EmyfHY2kA/SGyQxxmffGI/AAAAAAAACbE/yk-_xCBP-b0/s1600-h/OpenESB_Architecture.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_Q9EmyfHY2kA/SGyQxxmffGI/AAAAAAAACbE/yk-_xCBP-b0/s320/OpenESB_Architecture.JPG" alt="" id="BLOGGER_PHOTO_ID_5218705253018336354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family:arial;"&gt; &lt;span style="font-weight: bold;"&gt;NMR&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Open ESB) hosts a set of pluggable component containers, which integrate various types of IT assets. These pluggable component containers are interconnected with a fast, reliable, in-memory messaging bus called the Normalized Message Router (NMR) also referred to as the JBI Bus.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Service Engines&lt;br /&gt;&lt;/span&gt;  Service Engines provide                    business logic and transformation services to other components, as well                    as consume such services.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Binding components&lt;/span&gt;&lt;br /&gt;Binding components provide the ability to use communications protocols to both access remotely provided services, and allow remote service consumers to access services provided within the JBI environment&lt;br /&gt;&lt;br /&gt;A Binding Component may choose to implement one or more communications protocols, offering connectivity services to SEs and thereby enabling SEs to expose their services to remote consumers as well as enabling the consumption of remote services.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JBI &lt;/span&gt;&lt;br /&gt;- Java Business Integration (JBI) is a specification developed under the Java Community Process (JCP) for an approach to implementing a service-oriented architecture (SOA). The JCP reference is JSR 208 for JBI 1.0 and JSR 312 for JBI 2.0.&lt;br /&gt;-JBI provides an environment in which plug-in components reside.&lt;br /&gt;-JBI provides for interoperation between plug-in components by means of message-based service invocation.&lt;br /&gt;-JBI provides a set of services to facilitate management of the JBI environment, including the installed components. This includes component installation and life cycle management services.&lt;br /&gt;-the JBI environment is a container for service engines and binding components.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;JBI Architecture&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Q9EmyfHY2kA/SGyvuxkIU3I/AAAAAAAACbk/BStwOYOPpR4/s1600-h/JBI_Architecture.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_Q9EmyfHY2kA/SGyvuxkIU3I/AAAAAAAACbk/BStwOYOPpR4/s320/JBI_Architecture.JPG" alt="" id="BLOGGER_PHOTO_ID_5218739286329283442" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;JBI Components&lt;br /&gt;&lt;/span&gt;&lt;span&gt;-NMR&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;-Service Engines&lt;br /&gt;-Binding components&lt;br /&gt;-Shared Libraries&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Normalized Message Exchange&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Q9EmyfHY2kA/SG3Ie-ZYmaI/AAAAAAAACbs/TznAkrOaLGU/s1600-h/Ext.Serv.Consumer.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_Q9EmyfHY2kA/SG3Ie-ZYmaI/AAAAAAAACbs/TznAkrOaLGU/s320/Ext.Serv.Consumer.JPG" alt="" id="BLOGGER_PHOTO_ID_5219047977663371682" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Q9EmyfHY2kA/SG3IfCnjovI/AAAAAAAACb0/1RZIYIcS_1c/s1600-h/Ext.Serv.Provider.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_Q9EmyfHY2kA/SG3IfCnjovI/AAAAAAAACb0/1RZIYIcS_1c/s320/Ext.Serv.Provider.JPG" alt="" id="BLOGGER_PHOTO_ID_5219047978796557042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Delivery Channel&lt;/span&gt;&lt;br /&gt;A DeliveryChannel represents a bidirectional communication pipe used by bindings and engines to communicate with the NMR.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Message Flow&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Q9EmyfHY2kA/SIAes2zgB-I/AAAAAAAACd8/BhNdXTB4Hvw/s1600-h/MessageFlow.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_Q9EmyfHY2kA/SIAes2zgB-I/AAAAAAAACd8/BhNdXTB4Hvw/s320/MessageFlow.JPG" alt="" id="BLOGGER_PHOTO_ID_5224209323724376034" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Service Unit&lt;br /&gt;&lt;/span&gt;Service Unit (SU) jar files package the artifacts to deploy to a specific container/component.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Descriptor - JBI.xml&lt;/span&gt;&lt;br /&gt;The descriptor can declare what services are consumed/provided with the deployment of this SU&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Service Assembly or Composite Application&lt;br /&gt;&lt;/span&gt;A collection of service units.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Q9EmyfHY2kA/SIAiCS7ac6I/AAAAAAAACeE/BhMBCmTFilM/s1600-h/CompositeApp_ServiceAssembly.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_Q9EmyfHY2kA/SIAiCS7ac6I/AAAAAAAACeE/BhMBCmTFilM/s320/CompositeApp_ServiceAssembly.JPG" alt="" id="BLOGGER_PHOTO_ID_5224212990585893794" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Composite Application / Component Life Cycle &lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_Q9EmyfHY2kA/SIAitxMhhRI/AAAAAAAACeM/XBWPhpZiNqQ/s1600-h/Component_LifeCycle.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_Q9EmyfHY2kA/SIAitxMhhRI/AAAAAAAACeM/XBWPhpZiNqQ/s320/Component_LifeCycle.JPG" alt="" id="BLOGGER_PHOTO_ID_5224213737445098770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-8914636988304554226?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/8914636988304554226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=8914636988304554226' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/8914636988304554226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/8914636988304554226'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2008/07/all-about-open-esb.html' title='All about Open ESB'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_Q9EmyfHY2kA/SGyQxxmffGI/AAAAAAAACbE/yk-_xCBP-b0/s72-c/OpenESB_Architecture.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-6332906286331540547</id><published>2008-07-03T11:55:00.001+05:30</published><updated>2009-04-22T12:06:58.870+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='access control'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='search'/><category scheme='http://www.blogger.com/atom/ns#' term='keytool'/><category scheme='http://www.blogger.com/atom/ns#' term='referrals'/><category scheme='http://www.blogger.com/atom/ns#' term='LDAP basics'/><title type='text'>All About LDAP</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;** Directory &lt;/span&gt;&lt;br /&gt;Directory is like a dictionary; it allows one to look up a name and retrieve items of information associated with that name.&lt;br /&gt;Names in a directory are organized in a hierarchical tree. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;**Object and classes :- &lt;/strong&gt;&lt;/span&gt;Data stored in LDAP is stored in objects. These objects contain a number of attributes, which are basically a set of key/value pairs.&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;** Directory service&lt;/span&gt;&lt;br /&gt;A directory service is simply the software system that stores and organizes information in a directory, and provides access to that information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;** Difference b/w Directory service and Database&lt;/span&gt;&lt;br /&gt;The major difference with databases and directories is at the system level where a database is used to automate a process with a dedicated (relational) data model, but a directory is used to hold "identified" objects that can be used by many applications in random ways.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**The Lightweight Directory Access Protocol&lt;/span&gt;&lt;br /&gt;The Lightweight Directory Access Protocol, or LDAP , is an application protocol for querying and modifying directory services running over TCP/IP.[1]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**Entries, Attributes, and Values&lt;/span&gt;&lt;br /&gt;Entry&lt;br /&gt;&lt;br /&gt;cn: John Doe&lt;br /&gt;mail: johndoe@sun.com&lt;br /&gt;mail: jdoe@stc.com&lt;br /&gt;telephoneNumber: 471-6000 x.1234&lt;br /&gt;&lt;br /&gt;Attributes :- cn , mail, telephoneNumber&lt;br /&gt;Values :- John Doe ,johndoe@sun.com,jdoe@stc.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;** LDAP Directory Structure&lt;/span&gt;&lt;br /&gt;Tree structure.&lt;br /&gt;Top most - root&lt;br /&gt;higher levels of hirearchy - groupings or organizations.&lt;br /&gt;leaf nodes - individual persons&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;** Distinguished Names &amp;amp; Relative Distinguished Names&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Q9EmyfHY2kA/SGx0fK8LjRI/AAAAAAAACa8/FS2sluhcyzA/s1600-h/LDAP_Directory_structure.JPG"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_Q9EmyfHY2kA/SGx0fK8LjRI/AAAAAAAACa8/FS2sluhcyzA/s1600-h/LDAP_Directory_structure.JPG"&gt;&lt;span style="font-family:arial;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5218674147077098770" style="margin: 0px auto 10px; display: block; cursor: pointer; text-align: center;" alt="" src="http://bp1.blogger.com/_Q9EmyfHY2kA/SGx0fK8LjRI/AAAAAAAACa8/FS2sluhcyzA/s320/LDAP_Directory_structure.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;distinguished name of the John Doe entry is:&lt;br /&gt;cn=John Doe, ou=People, dc=sun.com&lt;br /&gt;&lt;br /&gt;cn=John Doe, ou=People is a RDN relative to the root RDN dc=sun.com.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;Another example would be &lt;/span&gt;&lt;span style="font-family:arial;"&gt;uid=bjensen,ou=People,dc=example,dc=com&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**LDAP Service&lt;/span&gt;&lt;br /&gt;A directory service is a distributed database application designed to manage the entries&lt;br /&gt;and attributes in a directory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**LDAP Client&lt;/span&gt;&lt;br /&gt;A directory client accesses a directory service using the LDAP protocol. A directory client may use one of several client APIs available in order to access the directory service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**Working of Client&lt;/span&gt;&lt;br /&gt;By connecting to an LDAP server, the LDAP BC/eWay enables to search, compare, and modify an LDAP directory using the LDAP protocol.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;**Referrals&lt;/span&gt;&lt;br /&gt;referral is information that a server sends back to the client indicating that the requested information can be found at another location (possibly at another server).&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Type :-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The type describes what the information is; the value is the information itself.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;cn: person5 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Here "cn" is the type and "person5" is the value.&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Attribute:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;attribute is comprised of a type and one or more values that describe a particular trait of the object’s entry.&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Entry:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;An entry, the base unit of the LDAP, is a collection of attributes which contain information that describes it.&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Object Classes:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The object classes are required or allowed and are defined with one or more attributes which are also required or allowed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;LDAP Schema:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;LDAP Schema defines what can be stored in the directory. It includes object classes and attributes. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;**SSL with LDAP &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5229403345212119730" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://bp1.blogger.com/_Q9EmyfHY2kA/SJKSosqbmrI/AAAAAAAADHA/L4gyuce0NvA/s320/LDAP_SSL.JPG" border="0" /&gt;&lt;br /&gt;&lt;strong&gt;SSL:-&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;Secure Socket Layer (SSL) technology allows web browsers and web servers to communicate over a secure connection. Uses Encryption , Decryption .&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;SSL uses public key cryptography, which is based on key pairs. Public key , private key. &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Digital signature :-&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:arial;"&gt;The server computes a value and encrypts the value using its private key. The encrypted value is called a digital signature. &lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;keytool:- &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:arial;"&gt;Keytool is used to generate certificates. The keytool stores the keys and certificates in a file termed a keystore, a repository of certificates used for identifying a client or a server. Typically, a keystore contains one client or one server's identity.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;For J2EE ,the server certificate is in keystore.jks. The cacerts.jks file contains all the trusted certificates, including client certificates&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Authentication:- &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:arial;"&gt;To verify that the site(server) is who and what it claims to be. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;To verify that the client is who and what it claims to be .&lt;/span&gt;&lt;/p&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Confidentiality:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Data cannot be deciphered by the third party and the data remains confidential between client and server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Integrity:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Data will not be modified in transit by that third party.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;KeyStore :-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;A KeyStore consists of a database containing a private key and an associated&lt;br /&gt;certificate, or an associated certificate chain. The certificate chain consists of the&lt;br /&gt;client certificate and one or more certification authority (CA) certificates.&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;TrustStore:-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;A TrustStore contains only the certificates trusted by the client. It is a repository of certificates.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Steps to create a keystore,trust store for server :-&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Generate certificate .keystore.jks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -genkey -alias server -keyalg RSA -keypass changeit -storepass changeit -keystore keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is your first and last name? [Unknown]: raghuvir&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is the name of your organizational unit? [Unknown]: india&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is the name of your organization? [Unknown]: sun&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is the name of your City or Locality? [Unknown]: blr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is the name of your State or Province? [Unknown]: karnataka&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;What is the two-letter country code for this unit? [Unknown]: ka&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Is CN=raghuvir, OU=india, O=sun, L=blr, ST=karnataka, C=ka correct? [no]: yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. Export it into file server.cer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -export -alias server -storepass changeit -file server.cer -keystore keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Certificate stored in file &lt;server.cer&gt;&lt;/server.cer&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. Import server.cer into the trust store (cacerts.jks)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -import -v -trustcacerts -alias server-alias -file server.cer -keystore cacerts.jks -keypass changeit -storepass changeit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Owner: CN=raghuvir, OU=india, O=sun, L=blr, ST=karnataka, C=kaIssuer: CN=raghuvir, OU=india, O=sun, L=blr, ST=karnataka, C=ka&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Serial number: 4892be08Valid from: Fri Aug 01 13:10:56 IST 2008 until: Thu Oct 30 13:10:56 IST 2008Certificate fingerprints: MD5: A3:BD:00:49:35:3B:99:BB:82:15:B9:B0:68:5C:6B:86 SHA1: 09:07:4D:46:8A:22:2A:BE:7C:F4:0C:1E:C5:41:F9:84:B8:83:F3:13Trust this certificate? [no]: yesCertificate was added to keystore[Storing cacerts.jks]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Steps to creat a client keystore and trust store&lt;/strong&gt; :-&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. Generate client certificate : keystore.jks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -genkey -alias client-alias -keyalg RSA -keypass changeit -storepass changeit -keystore keystore.jks -dname "CN=client_hostname, OU=John,O=Sun, L=Bangalore, S=Karnataka, C=IN"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);font-family:arial;" &gt;2. Export client certificate to a file called client.cer &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -export -alias client-alias -storepass changeit -file client.cer -keystore keystore.jks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Certificate stored in file &lt;client.cer&gt;&lt;/client.cer&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3.Create truststore from client.cer , cacerts.jks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;C:\jdk1.5.0_13\bin&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;keytool -import -v -trustcacerts -alias client-alias -file client.cer -keystore cacerts.jks -keypass changeit -storepass changeit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Owner: CN=client_hostname, OU=John, O=Sun, L=Bangalore, ST=Karnataka, C=INIssuer: CN=client_hostname, OU=John, O=Sun, L=Bangalore, ST=Karnataka, C=INSerial number: 4892cc92Valid from: Fri Aug 01 14:12:58 IST 2008 until: Thu Oct 30 14:12:58 IST 2008Certificate fingerprints: MD5: 17:C0:51:E9:BB:42:A1:83:20:B3:AD:64:46:1D:F9:19 SHA1: 54:61:C1:14:B0:21:FD:34:6B:EB:EE:32:50:C8:7A:9D:7A:60:FF:96Trust this certificate? [no]: yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Certificate was added to keystore[Storing cacerts.jks]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;Access Control :-&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Using access control, you can control access to the entire directory, a subtree of the directory, specific entries in the directory (including entries defining configuration tasks), or a specific set of entry attributes.&lt;br /&gt;&lt;br /&gt;The aci attribute has the following syntax:&lt;br /&gt;&lt;a name="14537"&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;aci: (target)(version 3.0;acl "name";permission bindRules;) &lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;The following is an example of a complete LDIF ACI:&lt;br /&gt;&lt;a name="14554"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;aci: (target="ldap:///uid=bjensen,dc=example,dc=com" (targetattr=*)(version 3.0; acl "example"; allow (write) userdn=&lt;/span&gt;&lt;a href="ldap:///self"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ldap:///self&lt;/span&gt;&lt;/a&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;;)&lt;/span&gt;&lt;br /&gt;&lt;a name="14555"&gt;&lt;/a&gt;&lt;br /&gt;In this example, the ACI states that the user bjensen has rights to modify all attributes in her own directory entry.&lt;br /&gt;&lt;br /&gt;target can be&lt;br /&gt;target -&gt; &lt;a href="ldap:///distinguished_name"&gt;ldap:///distinguished_name&lt;/a&gt;&lt;br /&gt;targetattr -&gt; attribute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Adding an ACI at the Command-Line&lt;/strong&gt;&lt;a name="15008"&gt;&lt;/a&gt;&lt;br /&gt;Use the following ldapmodify command to give say for&lt;br /&gt;example &lt;em&gt;Charlene Daniels&lt;/em&gt; full rights to the directory:&lt;a name="15009"&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ldapmodify -h myServer -p 5201 -D "cn=directory manager" -w passworddn: o=MyCorp,dc=example,dc=comchangetype: modifyadd: aciaci: (targetattr=*)(version 3.0; aci "give charlene full rights"; allow(all) userdn = &lt;a href="ldap:///uid=cdaniels,ou=People,o=MyCorp,dc=example,dc=com"&gt;ldap:///uid=cdaniels,ou=People,o=MyCorp,dc=example,dc=com&lt;/a&gt;;) &lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The following LDIF example allows members of the Engineering Admins group to modify the departmentNumber and manager attributes of all entries in the Engineering business category. This example uses LDAP filtering to select all entries with businessCategory attributes set to Engineering:&lt;br /&gt;&lt;a name="14710"&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;dn: dc=example,dc=comobjectClass: topobjectClass: organizationaci: (targetattr="departmentNumber manager") (targetfilter="(businessCategory=Engineering)") (version 3.0; acl "eng-admins-write"; allow (write) groupdn ="ldap:///cn=Engineering Admins, dc=example,dc=com";)&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;strong&gt;Referrals:-&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Referral contains one or more LDAP URLs of Objects which is returned to the client.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following table shows the values defined for this property. If this property has not been set, then the default is to ignore referrals.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://java.sun.com/products/jndi/tutorial/ldap/referral/ignore.html"&gt;ignore&lt;/a&gt; Ignore referrals&lt;br /&gt;&lt;a href="http://java.sun.com/products/jndi/tutorial/ldap/referral/follow.html"&gt;follow&lt;/a&gt; Automatically follow any referrals&lt;br /&gt;&lt;a href="http://java.sun.com/products/jndi/tutorial/ldap/referral/throw.html"&gt;throw&lt;/a&gt; Throw a &lt;a href="http://java.sun.com/j2se/1.3/docs/api/javax/naming/ReferralException.html" target="_top"&gt;ReferralException&lt;/a&gt;&lt;a href="http://java.sun.com/j2se/1.3/docs/api/javax/naming/ReferralException.html" target="_top"&gt;&lt;/a&gt; for each referral&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Serach in LDAP :- &lt;/strong&gt;&lt;a href="http://docs.sun.com/source/816-6696-10/cmdline.html#14656"&gt;http://docs.sun.com/source/816-6696-10/cmdline.html#14656&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;1)the following call will return all entries in the directory:&lt;a name="14623"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ldapsearch -h myServer -p 5201 -D "cn=directory manager" -w password -b "dc=example,dc=com" -s sub "objectclass=*"&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;2)You can specify a search filter directly on the command line. If you do this, be sure to enclose your filter in quotation marks ("filter"). Also, do not specify the -f option. For example:&lt;a name="14627"&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;ldapsearch -h myServer -p 5201 -D "cn=directory manager" -w password -b "dc=example,dc=com" "cn=Charlene Daniels"&lt;/span&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;dir&gt;&lt;dir&gt;&lt;dir&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/dir&gt;&lt;/dir&gt;&lt;/dir&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-6332906286331540547?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/6332906286331540547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=6332906286331540547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/6332906286331540547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/6332906286331540547'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2008/07/all-about-ldap.html' title='All About LDAP'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_Q9EmyfHY2kA/SGx0fK8LjRI/AAAAAAAACa8/FS2sluhcyzA/s72-c/LDAP_Directory_structure.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-267110444793059306.post-614327259454511217</id><published>2008-07-02T10:37:00.001+05:30</published><updated>2009-04-22T12:11:13.642+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='open esb terminologies'/><category scheme='http://www.blogger.com/atom/ns#' term='open ESB basics'/><title type='text'>Basic Terminologies for Open esb</title><content type='html'>&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Coupling&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;coupling or dependency is the degree to which each program module relies on each one of the other modules&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Loose coupling&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;Loose coupling describes an approach where integration interfaces are developed with minimal assumptions between the sending/receiving parties, thus reducing the risk that a change in one application/module will force a change in another application/module.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Service&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;A service is a function that is well-defined, self-contained, and does not depend on the context or state of other services.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;SOA&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;-Service-Oriented Architecture (SOA) is a software architecture where functionality is grouped around business processes and packaged as interoperable services.&lt;br /&gt;&lt;br /&gt;-SOA also describes IT infrastructure which allows different applications to exchange data with one another as they participate in business processes.&lt;br /&gt;&lt;br /&gt;-The aim is a loose coupling of services with operating systems, programming languages and other technologies which underlie applications.&lt;br /&gt;&lt;br /&gt;-Web services can be used to implement a service-oriented architecture.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;JBI -&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;Java Business Integration (JBI) is a specification developed under the Java Community Process (JCP) for an approach to implementing a service-oriented architecture (SOA). The JCP reference is JSR 208 for JBI 1.0 and JSR 312 for JBI 2.0.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;ESB Architecture :-&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;In an enterprise architecture making use of an ESB, an application will communicate via the bus, which acts as a message broker between applications.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Advantage of ESB Architecture :-&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;The primary advantage of such an approach is that it reduces the number of point-to-point connections required to allow applications to communicate.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;What is ESB ?&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;1. ESB is the piece of software that lies between the business applications and enables communication among them.&lt;br /&gt;2. ESB replaces all direct contact with the applications on the bus, so that all communication takes place via the bus.&lt;br /&gt;3. It uses the enterprise message model which is a standard set of messages that the ESB will both transmit and receive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Benefits&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;1.Faster and cheaper accommodation of existing systems.&lt;br /&gt;2.Increased flexibility; easier to change as requirements change.&lt;br /&gt;3.Standards-based.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Disadvantages&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;&lt;br /&gt;1.Enterprise Message Model is usually required, resulting in additional management overhead.&lt;br /&gt;2.Requires ongoing management of message versions to ensure the intended benefit of loose coupling.&lt;br /&gt;3.It normally requires more hardware than simple point to point messaging.&lt;br /&gt;4.Extra overhead and increased latency caused by messages traversing the extra ESB layer, especially as compared to point to point communications.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enterprise Application&lt;/span&gt;&lt;br /&gt;-&lt;span style=""&gt;An enterprise application is typically a software application hosted on an application server which simultaneously provides services to a large number of users, via a network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-It is Java 2 Platform Enterprise Edition application is any deployable unit of &lt;a href="http://en.wikipedia.org/wiki/J2EE" class="mw-redirect" title="J2EE"&gt;J2EE&lt;/a&gt; functionality. This can be a single J2EE module or a group of modules packaged into an &lt;a href="http://en.wikipedia.org/wiki/EAR_%28file_format%29" title="EAR (file format)"&gt;EAR file&lt;/a&gt; along with a J2EE application &lt;a href="http://en.wikipedia.org/wiki/Deployment_descriptor" class="mw-redirect" title="Deployment descriptor"&gt;deployment descriptor.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Composite Application&lt;/span&gt;&lt;br /&gt;-A composite application is a transactional application consisting of business functionality and information from varied information sources.&lt;br /&gt;&lt;br /&gt;-Composite applications are both a form of integration, as well as application development.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;What is Open ESB?&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;br /&gt;Project Open ESB implements an Enterprise Service Bus (ESB) runtime using Java Business Integration as the foundation. This allows easy integration of web services to create loosely coupled enterprise class composite applications.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/267110444793059306-614327259454511217?l=techxone.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://techxone.blogspot.com/feeds/614327259454511217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=267110444793059306&amp;postID=614327259454511217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/614327259454511217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/267110444793059306/posts/default/614327259454511217'/><link rel='alternate' type='text/html' href='http://techxone.blogspot.com/2008/07/basic-terminologies.html' title='Basic Terminologies for Open esb'/><author><name>Raghuvir Kamath</name><uri>http://www.blogger.com/profile/04230941230594365702</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
