Setting up LDAP on Debian Distro

LDAP (Lightweight Directory Access Protocol) allows central user, group, domain….. authentication, information storage …

Using LDAP in a local network, you can allow your users to login and authenticate from anywhere on your network.

This tutorial will be split in 2 parts. In the first part, I will explain how-to install, configure the LDAP server, add a few users and group, in the second part, we will set up Linux client to authenticate through LDAP if the user does not exist on the local filesystem.

In this tutorial, I will suppose that our LDAP server is located at 192.168.1.4. All machines in the network can resolve the host name ldap to 192.168.1.4. The LDAP server is going to manage domain debuntu.local.
The server runs Debian 4 (testing but almost stable) and the client Ubuntu Feisty 7.04.

Read more

Share

Setting up an Apache Web Server as a proxy in front of EJBCA

This section will show you how to use an Apache Web Server Proxy in front of EJBCA. The resulting server will

  • Display EJBCA public web at https://ca-server.company.local/
  • Redirect all HTTP-requests to HTTPS, except for OCSP and CRL.
  • Require a client SSL certificate when accessing https://ca-server.company.local/adminweb/
  • Be able to loadbalance requests
  • Still answer to requests on https://ca-server.company.local/ejbca/*

This example was created on Ubuntu 64-bit Server 7.10 using the Apache Web Server 2.2 package, but should be easy to adapt to any system able to run Apache.

Start by installing EJBCA as normal. If you intend to have the CA on the same machine as the proxy you should modify $EJBCA_HOME/conf/web.properties to only listen to localhost

Read more

Share

List of Credit Rating companies in Bangladesh

List of Credit Rating Companies

Sl. No.
 Name of the Company
Date of Issuance of Registration Certificate
Address
01.
Credit Rating Information and Services Ltd (CRISL)
21/08/02
Nakshi Homes (4th and 5th floor), 6/1A, Segunbagicha, Dhaka-1000
02.
Credit Rating Agency of Bangladesh Ltd (CRAB)
24/02/04
ChamberBuilding (6th Floor), 122-124 Motijheel C/A, Dhaka-1000
03
National Credit Ratings Ltd
 22/06/2010
3 Bijoy Nagor, 3rd floor, Dhaka-1000
04
Emerging Credit Rating Ltd
22/06/2010
SHAMS Rangs, House #104, Park Road, Flat# A1, A2, Baridhara, Dhaka-1212
05.
ARGUS Credit Rating Services Ltd.
21/07/2011
7 Suhrawardy Avenue, Baridhara, Dhaka-1212
06.
WASO Credit Rating Company (BD) Limited
15/02/2012
Haque Chamber (Level-5), 89/2 West Panthopath, Dhaka-1205
07.
Alpha Credit Rating Limited
 
20/02/2012
Navana Rahim Ardent (1st floor)
39 Kakrail, Dhaka-1000
08.
The Bangladesh Rating Agency Limited
07/03/2012
47 Karwan Bazar, Latif Tower (12th floor), Dhaka-1215

 

 
   List of Security Custodians

Read more

Share

Deploying a J2EE application behind an Apache server in a production environment

You have created a Web application using a JBoss application server and you are going to put it in production. Great!

But deploying your application with JBoss serving the Web requests directly may not be the optimal solution. First because the Tomcat web server embedded within JBoss is not the best server to serve static files and second because configuring Tomcat and JBoss for best performance and security is in general a complex and tedious task.

Instead, it is a good practice to use an Apache server (2.0 or 2.2) in front of your JBoss/Tomcat. This Apache server can serve static files, take care of your SSL security and manage for you all the details of HTTP headers (Expires and other headers) and more….

In a production environment, you should not put your JBoss application as a Web front-end. Instead, you should use an Apache server and configure it to redirect specific Web application requests to your J2EE server. There are many many advantages in doing this:

    The Apache server can serve static files (CSS, images, javascript files) faster than JBoss/Tomcat.
    When you need it, you can activate SSL on Apache without having to change your application.
    The Apache SSL implementation is faster compared to the Tomcat implementation (and a lot easier to configure!).
    You can have a better control of HTTP headers. No need to develop any servlet filter for that.
    You can get compression out of the box. No need to develop another servlet filter either (no need to configure Tomcat connector either!).

I assume here that the Apache server is already installed with the following modules and these modules are enabled.

Read more

Share

Hiding X-Powered by on JBoss Application Server 4.22.x

JBoss can add headers in the HTTP response. The X-Powered-By header exposes what implementation is behind your site. This header is created by a servlet filter that is activated by default in JBoss web configuration files (…/usr/java/jboss-4.2.2.GA/server/default/deploy/jboss-web.deployer/conf/web.xml). You can either disable this filter by commenting the following lines:

   <filter>
      <filter-name>CommonHeadersFilter</filter-name>
      <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
      <init-param>
         <param-name>X-Powered-By</param-name>
         <param-value>Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5</param-value>
      </init-param>
   </filter>

Now update <param-value> at your wish 🙂

Share

mod_jk for RHEL6

 

If you have a RHEL6 box which ships both Apache and Tomcat6 you might want to connect the two together. You probably have looked around for mod_jk as a RHEL6 RPM or SRPM (src.rpm).

You find that It isn't in EPEL, and it isn't in Red Hat Optional Server 6 RHN channel, etc.

It seems that the new way forward with RHEL/Fedora world is to use mod_proxy_ajp. For example, the RH/Fedora project Spacewalk switched from mod_jk to mod_proxy_ajp.

Note that mod_proxy_ajp is a core module of Apache 2.2 and newer so this should be a rather definitive/final change in recommended connector for Tomcat and Apache.

Read more

Share

EJBCA Custom OID DN and altName oids

EJBCA supports custom (your own) OIDs in DN components.

In order to add such a DN you can simply call the DN for example:

CN=MyCommonName,1.1.1.1=MyCustomOid,C=SE

Where 1.1.1.1 is your custom OID.

Custom OIDs are always encoded as UTF8String in the DN.

To get support for custom OIDs in the Admin GUI you must edit the file src/java/profilemappings.properties and add your new OID in the end. Just follow the example in the file, and you will get the possibility to add you oid in the End Entity Profile, and following that also when adding new users. If you edit profilemappings.properties, you should also add an entry in src/adminweb/languages/languagefile.XX.properties (where XX is you language). Otherwise your new field will be displayed as the key that you entered (which is probably ok also) in the admin-GUI. The new field you must add in the language file is the last field in profilemappings.properties, i.e. the LanguageConstant.

Read more

Share

২০১২ এবং ইসলাম তথা ১৪৩৩ আরো কিছু অজানা তথ্য অংশ (সংগ্রহীত)

ইসলাম যেখানে একঈশ্বর এবং সর্বশ্রেষ্ঠ মানব মহানবী হযরত মুহাম্মদ (সাঃ) এর সত্যতাতে বিশ্বাস করতে হয় সেখানে বস্তুবাদ কিংবা ত্রিতত্ত্ববাদ (Trinity) কিংবা বহুঈশ্বরবাদ এর কোনো স্থান নেই | নিশ্চয়ই আল্লাহ মহান | আমি এখানে আগে মায়ান এবং বর্তমান সম্পর্কে কিছু বলব. তা না হলে ২০১২ নিয়ে স্পষ্ট ধারনা পাওয়া যাবে না | পৃথিবীতে বরফ যুগের ম্যামোথ থেকে শুরু করে ডাইনোসোর এরা প্রত্যেকেই ধ্বংস হয়েছে . পৃথিবীতে কোনো কিছুই স্থায়ী নয় এমনকি — আমরাও না . ২০১২ নিয়ে আমরা অনেকেই কমবেশ জানি | অনেকেই জানি সুপার হিট ফীল্ম 2012 এর কথা | কিন্তু এই ফীল্মও ২০১২ এর সতর্ক বাণী স্বরূপই তৈরী করা হয়েছিল যা কিনা পরে মুভী ইন্ড্রাস্ট্রিতে ফীল্ম হিসেবেই প্রকাশ পায় | 2012 এর তৈরির পিছনে মায়ান ক্যালেন্ডার এর ভূমিকা ছিল | মায়ান ক্যালেন্ডারে ২০১২ এর পর আর ২০১৩ আসে নি, তারা আবার ১, ২, ৩ এভাবে গুনে গিয়েছে | তারা ২০১২ এ বিশাল ধ্বংসের কথা বলা হয়েছে যাতে কিনা সভ্যতার ধ্বংস হবে এবং নতুন সভ্যতার উত্থান হবে | অনেকেই বলেন ২০১২ তে নাকি পৃথিবী ধ্বংস হবে. এটা একটা ভুল ধারনা | ২০১২ তে যদি কিছু হয় তাহলে বড় রকমের বিপর্যয় হতে পারে (আল্লাহ ভালো জানেন) যার ফলে পৃথিবীর ৯০% মানুষই মারা যাবে . মায়ানরা যেটা দেখেছিল তা ছিল একটি গ্রহ | তারা দেখেছিল এই বিশাল গ্রহটি তাদেরকে আচ্ছাদিত করছে. এর তুমুল গ্র্যাভিটেশনাল ফোর্স এর প্রভাবে সুনামি আঘাত হানার ফলে ওদের সভ্যতা ধ্বংস হল | তাই তারা এই গ্রহটির নাম দিয়েছিল নিবিরু(Nibiru) বা ধ্বংসকারী. খুব ছোট অংকের মাধ্যমে তারা গ্রহের আসা যাওয়ার গণনা করতে পারত | ওরা এতটাই উন্নত ছিল যে ওরা জানত পৃথিবীর কক্ষপথ অনেকটা গোলাকার | তারা আরো জানত পৃথিবীর সূর্যকে কেন্দ্র করে ঘুরে আসতে ৩৬৫ দিন লাগে যা আমরা কয়েক শতক আগেও জানতাম না | ওদের মধ্যে যে কেউ ভবিষ্যত গণনা করতে পারত | স্বল্প সংখ্যক যারা বেচেছিল তারাই তাদের ভবিষ্যত গণনা করে বলেছিল এই নিবিরু আবার ২০১২ তে আসবে যার ফলে ভয়াবহ দুরঅবস্থার দেখা দিবে | অনেকে ধারনা করেন এই আদিম মায়ানরাই হল কুরআন এ বর্নিত নুহ নবীর উম্মত যাদেরকে আল্লাহ মহাপ্লাবন দ্বারা ধ্বংস করেছিলেন | যাই হোক এ নিয়ে বলতে শুরু করলে সারা দিন লেগে যাবে. এখন আধুনিক সভ্যতার প্লানেট এক্স আবিষ্কার এবং নাসা আমেরিকা ইউরোপ এর ষড়যন্ত্রের কথা বলব. প্ল্যানেট এক্স (নিবিরু) জ্যোতির্বিজ্ঞানীরা ১৯৮৩ এর গোড়ার দিকে সৌর সিস্টেম এর বাহির এর দিকে আবিষ্কার করে | ১৯৮৩ সালে নাসার ইরাস (IRAS-ইনফ্রা অ্যাস্ট্রোনমিকাল উপগ্রহ) সৌরজগত এর শেষ দিকে বৃহষ্পতি এর মত বড় কিছুর উপস্থিতির কথা বলে | যা ১৯৮৩ এর টাইমস পত্রিকায় উল্লেখ করা হয় | লিংক : http://3.bp.blogspot.com/-xXP7Jh9SWhs/TsvmP3a3CkI/AAAAAAAAACU/abJw_t6xuFM/s1600/Clues+Get+warm+in+the+search+of+planet+x+%2528real+photo+1+from+NY+times+30-01-1983%2529.gif সর্বপ্রথম ১৯৭২ সালে ক্যালিফোর্নিয়া বিশ্ববিদ্যালয়ের জোসেফ ব্র্যাডি আবিষ্কার করেন কোনো অপরিচিত গ্রহ (প্ল্যানেট এক্স) হ্যালির ধুমকেতুর কক্ষপথের মহাকর্ষিক সমস্যার কারণ | জোতির্বিজ্ঞানিদের গাণিতিক হিসাব এটা প্রমান করে যে, এই অপরিচিত গ্রহের ভর পৃথিবীর ৫ গুণ বেশি | এ সম্পর্কে মহাকাশ বিজ্ঞানী যেচারিয়া সিচিন (Zecharia Sitchin) এর একটি বক্তব্য না বললেই নয় ১৯৭৮ সালে তিনি বলেন, “আমাদের সৌরজগতে ৯টি গ্রহ নয় যা সর্বজন কর্তৃক গৃহীত বরং ১০ টি গ্রহ |” এই বিশাল বস্তর কারণেই যে প্লুটো এর অরবিট পরিবর্তিত হয় এবং প্লুটো তার গ্রহের মর্যাদা হারায় পরবর্তীতে বিজ্ঞানীরা তা কোনো অজানা কারণে আংশিক প্রকাশ করেন | (বর্তমানে প্লুটোকে Kuiper belt এর অংশ বলা হয়) অনেকে একে বাদামী তারা

Read more

Share