Tuesday, December 8, 2015

Data availability across multiple pods in Kubernetes using GlusterFS

Posted by sudheera On 11:55 PM

Goolge's Kubernetes gives you the ability of managing a cluster of containers across multiple nodes and provide mechanisms for deploying, maintaining, and scaling applications. Usually in  a container application uses a on-disk files which are ephemeral by the nature of the container concept. Kubernetes provides a solution for this problem by introducing the 'volumes'  which resolves the aforementioned problem as well as the file...

Monday, September 7, 2015

Transport Data Securely and Reliably over the Internet with AdroitLogic AS2Gateway

Posted by sudheera On 10:31 PM

Are you looking for a solution to send and receive your business data through the internet, securely and reliably? Applicability Statement 2 (AS2) defines a protocol which ensures such functionality. Using digital certificates and encryption ensures the security aspect of this protocol. AdroitLogic AS2 Gateway is a cloud based messaging platform that designed to operate on AS2 protocol.  Being a cloud based solution,  AS2Gateway gives...

Saturday, June 14, 2014

Install fcitx to type sinhala unicode real time in ubuntu

Posted by sudheera On 12:46 AM

Since Rsinglish developers asked to use fcitx instead of iBus here are some steps to install and config fcitx in linux environment.  1. To install fcitx, fcitx-config and fcitx-m17n using apt-get simply enter following line in terminal  sudo apt-get install fcitx fcitx-config-gtk2 fcitx-m17n 2. Set the input method for gtk/qt modules and xim programs by setting the environment variables. Open the /etc/environment file in your...

Sunday, June 1, 2014

Install RSinglish-a real time sinhala unicode converter on linux

Posted by sudheera On 1:33 AM

Update  : Developers of Rsinglish asked to use fcitx instead of m17n alone so this post is outdated, please refer to the next blog post to install fcitx and type Unicode realtime.   Real time Singlish is a real time unicode converter script for Sinhala. Here are few steps to follow in order to install it on Linux mint 16(Petra) and Ubuntu. 1. Install IBus and Ibus-m17n using following commands sudo apt-get install ibus sudo apt-get...

Thursday, March 27, 2014

Create self signed SSL certificates with crl/ocsp X509 Extensions using openssl

Posted by sudheera On 12:57 AM

(image source : https://ssl.trustwave.com/support/support-how-ssl-works.php) In order to test Ocsp/Crl validation we need to send the client request with ssl certificates that have information about CRL and OCSP. For that we can add authorityInfoAccess and crlDistributionPoints extensions to certificates. Here I'm using openssl tool on linux terminal to create required certificates. what we need to create: step 1. RSA key to root CA step...

Wednesday, March 26, 2014

WSO2 ESB OCSP/CRL Verification implementation in transport Listner

Posted by sudheera On 11:25 PM

 (image source : http://support.f5.com/techdocs/home/bigip/manuals/bigip4_5/bigip4_5features/images/BIGip_OCSPa.gif) During the SSL handshake a server invokes OCSP/CRL protocols to verify that the client’s X509 Certificate is not revoked by its issuer. Those protocols needs to make a http call to servers at CA in order to do the verification.  The responses include information about the revocation of the certificates. The SSL connection...

Monday, January 21, 2013

TankGame 03 - Java 2D game development tutorial with Slick, MarteEngine, Lwjgl

Posted by sudheera On 7:50 AM

  Now we have configured the environment,(If not, please refer the previous post) so we can create the game world with the entities in it. In my Netbeans project I have several Java classes representing various entities in the game. First we need to setup the "game world" which contains  all the players, blocks etc,  So for the game application we need several types of java classes to handle various  tasks of the game....