make certificate with make is only 1 month valid

sphaero arnaud at sphaero.org
Thu Sep 25 12:15:05 CEST 2008


A workaround for the Makefile would be to add:

CA_DEF_DAYS = `grep default_days ca.cnf | sed 's/.*=//;s/^ *//'

to the Makefile and change line 55:

ca.key ca.pem: ca.cnf
        openssl req -new -x509 -keyout ca.key -out ca.pem -days
$(CA_DEF_DAYS) -config ./ca.cnf

This has worked for me. I've set default_days to 3650 and tested the
Makefile:
openssl x509 -in ca.pem -noout -dates
notBefore=Sep 21 10:11:53 2008 GMT
notAfter=Sep 19 10:11:53 2018 GMT

-- 
View this message in context: http://www.nabble.com/make-certificate-with-make-is-only-1-month-valid-tp19607549p19666745.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list