diff --git a/mailer.rst b/mailer.rst index 8dc952f2fb9..feced29523b 100644 --- a/mailer.rst +++ b/mailer.rst @@ -334,6 +334,17 @@ the application or when using a self-signed certificate:: $dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0'; +TLS Peer Fingerprint Verification +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Additional fingerprint verification can be enforced with the ``peer_fingerprint`` +option. This is especially useful when a self-signed certificate is used and +disabling ``verify_peer`` is needed, but security is still desired. Fingerprint +may be specified in sha1 (40 characters) or md5 (32 characters):: + + $dsn = 'smtp://user:pass@smtp.example.com?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E'; + + Overriding default SMTP authenticators ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: