Navigation


Changeset 150:994f14da7776 in freeDiameter for contrib


Ignore:
Timestamp:
Dec 22, 2009, 2:10:33 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Improve

Location:
contrib/ca_script2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • contrib/ca_script2/Makefile

    r149 r150  
    150150        @if [ -z "$(ca)" ]; then echo "Missing parameter. Ex: make gencrl ca=ca.testbed.aaa"; exit 1; fi
    151151        # Create the CRL
    152         @rm -f $(DATA_DIR)/$(ca)/public/crl/local.pem
    153152        @CA_ROOT_DIR=$(DATA_DIR)/$(ca) openssl ca $(CONFIG) -gencrl -out $(DATA_DIR)/$(ca)/public/crl/$(ca).pem
    154         @ln -s $(ca).pem $(DATA_DIR)/$(ca)/public/crl/local.pem
    155         @ln -s crl/$(ca).pem $(DATA_DIR)/$(ca)/public/`openssl crl -noout -hash < $(DATA_DIR)/$(ca)/public/crl/$(ca).pem`.r0
     153        @ln -s crl/$(ca).pem $(DATA_DIR)/$(ca)/public/local.pem
     154        @ln -s local.pem $(DATA_DIR)/$(ca)/public/`openssl crl -noout -hash < $(DATA_DIR)/$(ca)/public/crl/$(ca).pem`.r0
    156155
    157156# End of file...
  • contrib/ca_script2/openssl.cnf

    r147 r150  
    6161dir             = $ENV::CA_ROOT_DIR     # Where everything is kept
    6262certs           = $dir/public           # Where the issued certs are kept
    63 crl_dir         = $dir/public/crl       # Where the issued crl are kept
     63crl_dir         = $dir/public           # Where the issued crl are kept
    6464database        = $dir/index.txt        # database index file.
    6565#unique_subject = no                    # Set to 'no' to allow creation of
     
    7070serial          = $dir/serial           # The current serial number
    7171crlnumber       = $dir/crlnumber        # the current crl number
    72 crl             = $dir/public/crl/local.pem             # The current CRL
     72crl             = $dir/public/local.pem                 # The current CRL
    7373private_key     = $dir/private/cakey.pem        # The private key
    7474x509_extensions = usr_cert              # The extentions to add to the cert
Note: See TracChangeset for help on using the changeset viewer.