Support

Forums

Contact Me

Create Your own SSL certificate for Apache

Create a new RSA key

# openssl genrsa -des3 -out server.key 1024
Give a very lengthy key, and save it somewhere in a PGP file or TrueCrypt volume

Create a non encrypted version for Apache

# openssl rsa -in server.key -out server.key.unsecure

Prepare the mark inquiry

# openssl req -new -key server.key -out server.csr
Attention enter the host from where the certificate will be use, since browser are matching content of certificate with host url.

Sign the certificate

# openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

Add the SSL certificate to Apache

Attention
path to server.key and server.crt may differ!

(SuSE 9.3 keys store at /etc/apache2/ssl.key/)
# cp server.key.unsecure /etc/httpd/ssl.key/server.key
# cp server.crt /etc/httpd/ssl.crt/server.crt
# chmod 400 /etc/httpd/ssl.key/server.key
# chmod 400 /etc/httpd/ssl.crt/server.crt

Restart Apache

BrutalGraceful

# /etc/init.d/apache restart

# apache2ctl gracefu
 
You might also like:
Need for Speed? mod_pagespeed from Google
929 days ago
Need for Speed? mod_pagespeed from Google
mod_pagespeed is the latest addition to our family of products, performing on-the-fly optimiza
Subversion and mod Security
1468 days ago
Subversion and mod Security
I was receiving some strange errors (HTTP error 501) while committing to my public subversion (h
Installing Munin on OpenSuse 11.x
1496 days ago
Installing Munin on OpenSuse 11.x
  Munin the monitoring tool surveys all your computers and remembers what it saw. It presents a
default thumbnail image alt
1552 days ago
Percona XtraDB Storage Engine, scalling betten than innodb
From http://www.mysqlperformanceblog.com Percona XtraDB includes all of InnoDB’s ACID-co
Site optimization: it's all about your image size and format
1579 days ago
Site optimization: it's all about your image size and format
I really like this small Firefox extension Smushit as it allow to quickly check if all my images are
default thumbnail image alt
1601 days ago
Avoid Hotlinking or so called bandwidth stealing
From WikiPedia Inline linking (also known as hotlinking, leeching, piggy-backing, direct linki
blog comments powered by Disqus

Donations

Thank You for supporting my work