Navigation


Changeset 274:c8e57b3ca75f in freeDiameter


Ignore:
Timestamp:
Apr 22, 2010, 4:09:02 PM (14 years ago)
Author:
thedoc@morbier.koganei.wide.ad.jp
Branch:
default
Phase:
public
Message:

Updated script to avoid 1 month valid root certs

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.