Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Howto Create a self signed SSL certificate

Simon | November 26, 2010

This howto shows you howto create a self signed SSL certificate without a passphrase. Using openssl with one single command:

openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mykey.key -out mycert.crt

After you have answered all the questions you should have two files one key file and one crt file. Please make sure to enter your domain name when asked for your common name. This can also be an ip address if you don’t have a domain name to use. You can change how long the cert is valid for by changing the value days. If you prefer to have your cert and key in one file normally called a pem file please use the following command:

openssl req -x509 -nodes -days 1095 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem

As you can see the only thing i changed is instead of using two file names one for the key and one for the cert. You just repeat the first name which will create the cert and the key in one file called mycert.pem in our example.

Share on Facebook
Comments
No Comments »
Categories
confixx/Plesk, Gentoo, Ubuntu/Debian
Comments rss Comments rss
Trackback Trackback

Gentoo Linux php 5.3 upgrade

Simon | November 25, 2010

In Gentoo Linux from PHP 5.2 and onwards quite a few things have changed. It is now possible to have a slotted installation of PHP to help people to upgrade to PHP 5.3 and larger. I won’t take the time to explain everything because the Gentoo Dev’s have made a great attempt in creating the PHP Admin Guide. Please read this guide before you attempt the upgrade. Unless you server is a non production system and you don’t care about downtime:

Gentoo Upgrading PHP

Share on Facebook
Comments
No Comments »
Categories
Gentoo
Comments rss Comments rss
Trackback Trackback

 

November 2010
M T W T F S S
« Sep   Dec »
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox