#!/bin/sh # petit script qui genere la cle et le certificat d'un site https DIR=/etc/apache-ssl/ssl-cert # nom du certif/du site NAME=$1 SSL=`which openssl` # check if dir is OK if [ ! -d $DIR ]; then echo "Dir $DIR not found, building it." mkdir -p $DIR fi