Ero sivun ”Apache ja HTTPS” versioiden välillä

Siirry navigaatioon Siirry hakuun
20 merkkiä poistettu ,  11. marraskuuta 2008
source-tagien käyttö rikkoi [[]]-tagit johtaen siihen, että [[]]-tagit tulostuivat katselusivulle.
(syntaksitagit)
(source-tagien käyttö rikkoi [[]]-tagit johtaen siihen, että [[]]-tagit tulostuivat katselusivulle.)
Rivi 20: Rivi 20:
     shift
     shift
   fi     
   fi     
   [[echo]]
   echo
   echo creating selfsigned certificate
   echo creating selfsigned certificate
   echo "replace it with one signed by a certification authority (CA)"
   echo "replace it with one signed by a certification authority (CA)"
Rivi 30: Rivi 30:
   # use special .cnf, because with normal one no valid selfsigned
   # use special .cnf, because with normal one no valid selfsigned
   # certificate is created
   # certificate is created
   [[export]] RANDFILE=/dev/random
   export RANDFILE=/dev/random
   [[openssl]] req $@ -config ssleay.cnf \
   openssl req $@ -config ssleay.cnf \
     -new -x509 -nodes -out /etc/apache2/ssl/apache.pem \
     -new -x509 -nodes -out /etc/apache2/ssl/apache.pem \
     -keyout /etc/apache2/ssl/apache.pem -days 365
     -keyout /etc/apache2/ssl/apache.pem -days 365
   [[chmod]] 600 /etc/apache2/ssl/apache.pem
   chmod 600 /etc/apache2/ssl/apache.pem
   [[ln]] -sf /etc/apache2/ssl/apache.pem \
   ln -sf /etc/apache2/ssl/apache.pem \
   /etc/apache2/ssl/`/usr/bin/openssl \
   /etc/apache2/ssl/`/usr/bin/openssl \
   x509 -noout -hash < /etc/apache2/ssl/apache.pem`.0
   x509 -noout -hash < /etc/apache2/ssl/apache.pem`.0
Rekisteröitymätön käyttäjä

Navigointivalikko