Lighttpd Rails Script With SSL Options
<code>#!/usr/bin/env ruby require 'optparse' require 'fileutils' require 'tmpdir' OPTIONS = { :port => 3000, :ip => "0.0.0.0", :daemon => false, :environment => "development",...
View ArticleExtract A Server Certificate From A HTTPS Connection.
You can simply extract information about the SSL certificate of HTTP connections using OpenSSL<code> openssl s_client -connect ${URL}:${PORT}</code> For example: <code> openssl...
View ArticleSSL Cert On The Cheap.
Stolen from: http://groups.google.com/group/rubyonrails-talk/browse_frm/thread/148ada4b0d33cfac?hl=en If cost is an issue, you may wish to investigate Reverse Proxying with a single external...
View ArticleMake Sure Your Site (or Directory) Is SSL Encrypted
Need a simple way to make sure all http requests get redirected to https? This apache config snippet will redirect all requests at or below the specified location to its https...
View ArticleSSL : Download Certificate Chain From A Remote Host And Add The Certificates...
// Code from http://blogs.sun.com/andreas/entry/no_more_unable_to_find // /* // * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. // * // * Redistribution and use in source and binary...
View ArticleMail Sending Program Using Ssl Using Gmail Account
// sending mail using ruby through ssl<code> require 'rubygems' require 'action_mailer' require "net/smtp" require "tlsmail" class MailSent < ActionMailer::Base def message(r = "", m = "", s...
View ArticleAutomating Releases With maven-release-plugin
The maven-release-plugin is used to automate a lot of the manual steps involved in releasing new versions of your software. The automation prevents mistakes which ultimately occur using a manual...
View ArticleDaily Dose - Redis 2 Release Candidate
The first release candidate for the NoSQL data store, Redis, is now available with new features such as significant performance optimizations, a new test suite, and an AOF (Aggregate Objective...
View ArticleBuild your own development server with Apache, Subversion and Trac
Preface This is one of the most appreciated articles coming from my blog; the original title is: Install Tutorial: Ubuntu 9.04, Apache with SSL, Subversion over HTTP / HTTPs, and Trac. Despite the fact...
View ArticleHTTP connection + HTTP Authenticacion + Proxy + SSL
Many times during your life as a java developer, you will face the situation of retrieving some resources using an HTTP connection. At first, it will seem easy, but probably some problems will arise...
View ArticleHow to call a rest webservice with an untrusted SSL certificate
TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() { public X509Certificate[] getAcceptedIssuers() { return null; } public void checkClientTrusted(X509Certificate[] certs,...
View ArticleShellJS - Unix Shell Commands For Node.js
ShellJS is a portable (**Windows included**) implementation of Unix shell commands on top of the Node.js API. You can use it to eliminate your shell script's dependency on Unix while still keeping its...
View ArticleInstalling Comodo PositiveSSL on Jetty
I usually buy Comodo Certificates from PSW.net. It was always a pain to get it running because the information found on Comodos website are extremely outdated. So painful it is, their certificates are...
View ArticleEnabling SSL in Tomcat
For people in hurry get the latest code and follow the steps mentioned in Github. Preview Text: But there is no simple example where we can demonstrate Enabling SSL in Tomcat, I spent days pouring...
View ArticleUnderstanding Transport Layer Security / Secure Socket Layer
Transport Layer Security (TLS) 1.0 / Secure Sockets Layer (SSL) 3.0, is the mechanism to provide private, secured and reliable communication over the internet. It is the most widely used protocols that...
View ArticleIgnore CERT and host name verification for services accessible over https
During development, it sometimes helps/speed up work if we ignore certificate and hostname verification for testing RESTful services accessible over https.One such case would be auto-generated certs...
View ArticleWCF with 256 bit SSL
Recently I had to call a Java web service from Wcf. The service was secured with a 256-bit ssl certificate. Every request I made was rejected with a 401 Unauthorized response. I then used this site to...
View ArticleSession Store Design with NoSQL
Basho is pretty active about reaching out to developers who might benefit from trying Riak. After doing a presentation on Amazon DynamoDB, Tim Gross was contacted by them and Tim decided to write an...
View ArticleSSL Performance Overhead in MySQL
This post comes from Ernie Souhrada at the MySQL Performance Blog. NOTE: This is part 1 of what will be a two-part series on the performance implications of using in-flight data encryption. Preview...
View ArticleAdding SSL Support to an Embedded Jetty Server
As I discussed in a series of four posts (see Part 1, Preview Text: Many production applications that expose REST interface are going to want to secure those with some kind of authentication and...
View ArticleHow to use MongoDB with SSL
Data security, encryption and privacy is all around the news these days. Deutsche Telekom is talking about creating “Schlandnet” and HTTP 2.0 is going all in with SSL. Preview Text: There isn’t too...
View Article