Changeset 150:994f14da7776 in freeDiameter for contrib
- Timestamp:
- Dec 22, 2009, 2:10:33 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- contrib/ca_script2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/ca_script2/Makefile
r149 r150 150 150 @if [ -z "$(ca)" ]; then echo "Missing parameter. Ex: make gencrl ca=ca.testbed.aaa"; exit 1; fi 151 151 # Create the CRL 152 @rm -f $(DATA_DIR)/$(ca)/public/crl/local.pem153 152 @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.pem155 @ln -s crl/$(ca).pem $(DATA_DIR)/$(ca)/public/`openssl crl -noout -hash < $(DATA_DIR)/$(ca)/public/crl/$(ca).pem`.r0153 @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 156 155 157 156 # End of file... -
contrib/ca_script2/openssl.cnf
r147 r150 61 61 dir = $ENV::CA_ROOT_DIR # Where everything is kept 62 62 certs = $dir/public # Where the issued certs are kept 63 crl_dir = $dir/public /crl# Where the issued crl are kept63 crl_dir = $dir/public # Where the issued crl are kept 64 64 database = $dir/index.txt # database index file. 65 65 #unique_subject = no # Set to 'no' to allow creation of … … 70 70 serial = $dir/serial # The current serial number 71 71 crlnumber = $dir/crlnumber # the current crl number 72 crl = $dir/public/ crl/local.pem # The current CRL72 crl = $dir/public/local.pem # The current CRL 73 73 private_key = $dir/private/cakey.pem # The private key 74 74 x509_extensions = usr_cert # The extentions to add to the cert
Note: See TracChangeset
for help on using the changeset viewer.