mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 06:46:15 +00:00
a94e9b5308
This also adds certificates for testing purposes and files to make it easy to generate/regenerate them. This also replaces an existing test of how we utilize our pool manager such that we don't connect to badssl.com Finally, this adds additional context parameters for our pool manager to account for mTLS certificates used by clients to authenticate to a server.
14 lines
297 B
Makefile
14 lines
297 B
Makefile
.PHONY: all clean
|
|
|
|
root_files = ca-private.key ca.crt
|
|
|
|
ca-private.key:
|
|
openssl genrsa -out ca-private.key 2048
|
|
|
|
all: ca-private.key
|
|
openssl req -x509 -sha256 -days 7300 -key ca-private.key -out ca.crt -config ca.cnf
|
|
ln -s ca.crt cacert.pem
|
|
|
|
clean:
|
|
rm -f cacert.pem ca.crt ca-private.key *.csr
|