Navigation


Changes in / [275:0941db40bcba:276:17739001c00e] in freeDiameter


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/ca_script2/Makefile

    r151 r274  
    6969        @$(REMAKE) structure caname=$(topca)
    7070        # Generate the self-signed certificate
    71         @CA_ROOT_DIR=$(DATA_DIR)/$(topca) openssl req $(CONFIG) -new -batch -x509 -nodes -newkey rsa:$(cakeysize) -out $(DATA_DIR)/$(topca)/public/cacert.pem \
    72                 -keyout $(DATA_DIR)/$(topca)/private/cakey.pem -subj /CN=$(topca)
     71        @CA_ROOT_DIR=$(DATA_DIR)/$(topca) openssl req $(CONFIG) -new -batch -x509 -days 3650 -nodes -newkey rsa:$(cakeysize) -out $(DATA_DIR)/$(topca)/public/cacert.pem \
     72                -keyout $(DATA_DIR)/$(topca)/private/cakey.pem -extensions ca_cert -subj /CN=$(topca)
    7373        @ln -s cacert.pem $(DATA_DIR)/$(topca)/public/`openssl x509 -noout -hash < $(DATA_DIR)/$(topca)/public/cacert.pem`.0
    7474        @touch $(DATA_DIR)/$(topca)/public/cachain.pem
Note: See TracChangeset for help on using the changeset viewer.