aboutsummaryrefslogtreecommitdiffstats
path: root/docs/x509
diff options
context:
space:
mode:
Diffstat (limited to 'docs/x509')
-rw-r--r--docs/x509/tutorial.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/x509/tutorial.rst b/docs/x509/tutorial.rst
index 54a692d2..bcaec809 100644
--- a/docs/x509/tutorial.rst
+++ b/docs/x509/tutorial.rst
@@ -45,7 +45,7 @@ are the most common types of keys on the web right now):
... ))
If you've already generated a key you can load it with
-:func:`~cryptography.hazmat.primitives.serialization.load_pem_public_key`.
+:func:`~cryptography.hazmat.primitives.serialization.load_pem_private_key`.
Next we need to generate a certificate signing request. A typical CSR contains
a few details: