From 0fa6b39f8e9685942b23ff9a878fe34e771a8c7e Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 9 Sep 2016 21:32:14 -0400 Subject: Fixed #3143 -- added the mandatory serial number parameter (#3144) --- docs/x509/tutorial.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/x509/tutorial.rst b/docs/x509/tutorial.rst index 6941372f..143cdfc5 100644 --- a/docs/x509/tutorial.rst +++ b/docs/x509/tutorial.rst @@ -134,6 +134,8 @@ Then we generate the certificate itself: ... issuer ... ).public_key( ... private_key.public_key() + ... ).serial_number( + ... x509.random_serial_number() ... ).not_valid_before( ... datetime.datetime.utcnow() ... ).not_valid_after( -- cgit v1.2.3