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.
class Bill < ActiveRecord::Base | |
attr_accessible :name | |
before_validation :bvm | |
after_validation :avm | |
before_save :bsm | |
around_save :arsm | |
after_save :asm |
install zlib1-dev | |
libxslt | |
libreadline-dev | |
openssl | |
i | |
apt-get -y update | |
apt-get -y install git build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev |
##################################################### | |
### Setup database | |
##################################################### | |
# start your database as follows | |
sudo /etc/init.d/postgresql start | |
# create user | |
sudo -u postgres createuser -l -D -S -R sduser | |
# create database | |
sudo -u postgres createdb -O sduser successdart_development | |
sudo -u postgres createdb -O sduser successdart_test |
#### Template | |
**TODO** | |
- [ ] Develop some code | |
**Team** | |
- [ ] Make the team awesome! |
gem 'rails-perftest' | |
gem 'ruby-prof' # for MRI profiling |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rbenv' | |
require 'mina/unicorn' | |
# Basic settings: | |
# domain - The hostname to SSH to. | |
# deploy_to - Path to deploy into. | |
# repository - Git repo to clone from. (needed by mina/git) |
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.
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key | |
# 3) Generate the csr (Certificate signing request) (Details are important!) |
print 'hello world' |