Athithyaa Selvam 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago
..
README.rst 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago
cacert.key 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago
cacert.pem 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago
server.crt 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago
server.key 559106f683 Upgrade urllib3 to 1.26.12 due to critical CVEs (#3181) 2 years ago

README.rst

Generating new certificates
---------------------------

Here's how you can regenerate the certificates::

import trustme

ca = trustme.CA()
server_cert = ca.issue_cert(u"localhost")

ca.cert_pem.write_to_path("cacert.pem")
ca.private_key_pem.write_to_path("cacert.key")
server_cert.cert_chain_pems[0].write_to_path("server.crt")
server_cert.private_key_pem.write_to_path("server.key")

This will break a number of tests: you will need to update the
relevant fingerprints and hashes.