Create a X.509 certificate

We want to use openID as we use Google as our mail client. To utilise OpenID you need to need to create a X.509 certificate, the best way to do this is via Linux and openssl.

I created a micro server in the Amazon cloud, so this should only cost $0.025 as long as I am quick 🙂

yum install gcc make

cd ~ 

mkdir software


tar xvf  openssl-1.0.0g.tar.gz

cd openssl-1.0.0g



make install

cd /

mkdir certs

cd certs

openssl req -x509 -nodes -days 3650 -newkey rsa:2028 -sha1 -subj   ‘/C=2 digit Country/ST=County/L=Area View/CN=Domain’ -keyout   myrsakey.pem -out /certs/myrsacert.pem


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s