Marketplace:

 
Domain name registration: Cheap domain names from 895cheap-domain.com
Cheap domain registration, buy domain name or transfer domain names at affordable price
Register domain name or buy domain registration from $2.95 per domain year

 

   

Renew SSL Certificate

next up previous contents index

I am using a self-signed certificate. To renew the certificate for 365 days once it expires (from http://www.euhq.org/debian-apache-ssl-howto.html:



  # cd /etc/apache-ssl
  # openssl genrsa -out togaware.com.key 1024
  # chmod 600 togaware.com.key
  # openssl req -new -key togaware.com.key -out togaware.com.csr
    AU
    ACT
    Canberra
    Togaware
    Data Mining
    Togaware
    Kayon.Toga@togaware.com
    (no challenge)
  # openssl x509 -req -days 365 -in togaware.com.csr \
            -signkey togaware.com.key -out togaware.com.crt
  # mv apache.pem apache.pem.old 
  # cp togaware.com.key apache.pem 
  # cat togaware.com.crt >> apache.pem 
  # chmod 600 apache.pem


Then restart the server:



  # /etc/init.d/apache-ssl restart



Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " Do what you think is interesting, do something that you think is fun and worthwhile, because otherwise you won't do it well anyway.   "  

Tuesday 22 May 2012 07:27:49 1337671669