Skip to content

Commit 5ac9dce

Browse files
lahwaaczWhyNotHugo
authored andcommitted
Update documentation regarding SSL pinning by fingerprint
1 parent a513a7e commit 5ac9dce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ssl-tutorial.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ To pin the certificate by fingerprint::
1414
[storage foo]
1515
type = "caldav"
1616
...
17-
verify_fingerprint = "94:FD:7A:CB:50:75:A4:69:82:0A:F8:23:DF:07:FC:69:3E:CD:90:CA"
17+
verify_fingerprint = "6D:83:EA:32:6C:39:BA:08:ED:EB:C9:BC:BE:12:BB:BF:0F:D9:83:00:CC:89:7E:C7:32:05:94:96:CA:C5:59:5E"
1818

19-
SHA256-Fingerprints can be used. CA validation is disabled when pinning a
20-
fingerprint.
19+
SHA256-Fingerprints must be used, MD5 and SHA-1 are insecure and not supported.
20+
CA validation is disabled when pinning a fingerprint.
2121

22-
You can use the following command for obtaining a SHA-1 fingerprint::
22+
You can use the following command for obtaining a SHA256 fingerprint::
2323

24-
echo -n | openssl s_client -connect unterwaditzer.net:443 | openssl x509 -noout -fingerprint
24+
echo -n | openssl s_client -connect unterwaditzer.net:443 | openssl x509 -noout -fingerprint -sha256
2525

2626
However, please consider using `Let's Encrypt <https://letsencrypt.org/>`_ such
2727
that you can forget about all of that. It is easier to deploy a free

0 commit comments

Comments
 (0)