Ignore:
Timestamp:
Nov 28, 2008, 9:20:58 AM (16 years ago)
Author:
george
Message:
  • Upraveno: Různé systémové shellové skripty.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/generate_certificate.sh

    r1 r115  
    11#!/bin/sh
     2
     3cd /etc/pki/tls/certs
     4
    25SERVER=centrala.zdechov.net
    36PRIVATE_KEY=$SERVER.key
     
    58VALID_DAYS=365
    69
     10cd /etc/pki/tls/certs
    711echo Delete old private key
    812rm $PRIVATE_KEY
    913echo Create new private/public-keys without passphrase for server
    10 cd /etc/pki/tls/private
    1114openssl genrsa -out $PRIVATE_KEY 1024
     15cp /etc/pki/tls/certs/$PRIVATE_KEY /etc/pki/tls/private/$PRIVATE_KEY
    1216
    1317echo Create selfsigned certificate
Note: See TracChangeset for help on using the changeset viewer.