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.
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.
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
# Use Boto 3 and Botocore modules | |
import sys, threading, botocore | |
import boto3 | |
from boto3.s3.transfer import TransferConfig | |
# Create Connection to S3 | |
s3_client = boto3.client('s3') | |
# Create Connection to S3 | |
s3_bucket = boto3.resource('s3') |
#!/bin/sh | |
#ENV Variables | |
MONGO_HOST= | |
MONGO_PORT= | |
MONGO_DB_NAME= | |
MONGO_USERNAME= | |
MONGO_PASSWORD= | |
APP_PATH= | |
APP_NAME= |
In this article I’m going to show you the commands you need to convert your .PFX Certificate file to a seperate certificate and keyfile. This article can come in handy when you need to import your certificates on devices like Cisco routers/loadbalancers etc. where you probably need to import the certificates and keyfiles in plain text (unencrypted). My tool of choice (but there might be others) is OpenSSL for Windows, which can be downloaded here
So after you installed OpenSSL you can start it from it’s Bin folder. I’d like to put OpenSSL\Bin in my path so I can start it from any folder. Fire up a command prompt and cd to the folder that contains your .pfx file. First type the first command to extract the private key:
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]
What this command does is extract the private key from the .pfx file. Once entered you need to type in the importpassword of the .pfx file. This is the password that you used to protect your keypair when yo
##Install AWS CLI Tools##
cd ~/.aws
edit or create new file named config
paste the following contents inside.
Save the file as "config"
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
require 'dotenv' | |
worker_processes Integer(ENV['WEB_CONCURRENCY'] || 3) | |
timeout 15 | |
preload_app true | |
stderr_path "/srv/#{application}/shared/log/"ENV['RAILS_ENV']".log" | |
stdout_path "/srv/#{application}/shared/log/"ENV['RAILS_ENV']".log" | |
pid "/srv/#{application}/shared/tmp/pids/#{application}.pid" |
sudo su - | |
# stuff we need to build from source | |
apt-get install libpcre3-dev build-essential libssl-dev | |
# get the nginx source | |
cd /opt/ | |
wget http://nginx.org/download/nginx-0.8.54.tar.gz | |
tar -zxvf nginx* | |
# we'll put the source for nginx modules in here |