I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
diff -urN _RAIDiator-x86-4.2.23.extracted/root/frontview/lib/np_handler.pl _RAIDiator-x86-4.2.24.extracted/root/frontview/lib/np_handler.pl | |
--- _RAIDiator-x86-4.2.23.extracted/root/frontview/lib/np_handler.pl 2013-05-02 12:00:27.000000000 -0500 | |
+++ _RAIDiator-x86-4.2.24.extracted/root/frontview/lib/np_handler.pl 2013-07-01 20:42:22.000000000 -0500 | |
@@ -42,6 +42,8 @@ | |
my $eval_string; | |
+ my $ret_payload; | |
+ my $ret_val; | |
for( $CURRENTPAGE ) |
FROM ubuntu | |
MAINTAINER Dustin Sallings "[email protected]" | |
ADD http://cbfs-ext.hq.couchbase.com/couchbase-dist/couchbase-server-enterprise_2.2.0_x86_64.deb /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
RUN apt-get update | |
RUN apt-get install -y librtmp0 python-httplib2 | |
RUN dpkg -i /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
RUN rm /tmp/couchbase-server-enterprise_2.2.0_x86_64.deb | |
RUN /etc/init.d/couchbase-server stop |
#!/usr/bin/env bash | |
### BEGIN INIT INFO | |
# Provides: sidekiq | |
# Required-Start: $local_fs $network | |
# Required-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: sidekiq | |
# Description: sidekiq daemon | |
### END INIT INFO |
require 'rubygems' | |
require 'sinatra' | |
helpers do | |
def request_headers | |
env.inject({}){|acc, (k,v)| acc[$1.downcase] = v if k =~ /^http_(.*)/i; acc} | |
end | |
end |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
# save this file in /etc/default/unicorn_app | |
USER=app_user | |
APP_ROOT=/srv/app | |
RVM_STRING=2.2.4@app_gemset | |
RACK_ENV=production | |
UNICORN_OPTS="-D -c /srv/app/shared/config/unicorn.rb -E production" | |
DAEMON=unicorn |