Posts

Showing posts with the label open

Eclipse PDE: Everything about Editor Part 3

Image
Syntax Highlighting Part 3 of Eclipse PDE: Everything about Editor series deals with Syntax coloring. In previous post I have explained about all Eclipse Editor relegated concepts and document partition. I have tried to explains Syntax highlighting in editor in this post. Syntax highlighting helps to provides different color and styles to different part of code. Eclipse provides a presentation reconciler, which divides the document into a set of tokens that define the background and foreground color, along with the font style for a section of text. The document partitions define the content types within a document, while the presentation reconciler divided those individual content types into tokens for sets of characters that share the same color and font style. The presentation of the document must be maintained while the user continues to modify it. This is done through the use of a damager and a repairer . A Damager takes the description of how the document was modified and ...

Creating Self-Signed Certificates Open SSL Part 2 : Making Apache HTTP Server SSL enabled.

Image
  In previous post I have explained how to generate self-signed certificates using openSSL. This post We will see how to use this certificate for a secured web application. Now lets use these certificates to make a web application secure. For this I have downloaded Apache HTTP Server including OpenSSL and installed from here. 1. First step is to make Apache HTTP Server SSL enabled. Following the simple steps given below to get SSL enabled Edit <APACHE_INSTALL_HOME>/config/httpd.conf and uncomment following line LoadModule ssl_module modules/mod_ssl.so Include conf/extra/httpd-ssl.conf Edit <APACHE_INSTALL_HOME>/config/extra/httpd-ssl.conf and update following attributes SSLCertificateKeyFile <Location of Server.key file, generated as per previous post> SSLCertificateFile <Location of Server.crt file, generated as per previous post>   2. Restart the Server <APACHE_INSTAL_HOME>/bin/httpd.exe –k restart 3. Install/import certifica...