tests/certs/expired/ca/Makefile
raw| 1 | .PHONY: all clean |
| 2 | |
| 3 | root_files = ca-private.key ca.crt |
| 4 | |
| 5 | ca-private.key: |
| 6 | openssl genrsa -out ca-private.key 2048 |
| 7 | |
| 8 | all: ca-private.key |
| 9 | openssl req -x509 -sha256 -days 7300 -key ca-private.key -out ca.crt -config ca.cnf |
| 10 | ln -s ca.crt cacert.pem |
| 11 | |
| 12 | clean: |
| 13 | rm -f cacert.pem ca.crt ca-private.key *.csr |