File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,17 @@ the application or when using a self-signed certificate::
334
334
335
335
$dsn = 'smtp://user:[email protected] ?verify_peer=0';
336
336
337
+ TLS Peer Fingerprint Verification
338
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339
+
340
+ Additional fingerprint verification can be enforced with the ``peer_fingerprint ``
341
+ option. This is especially useful when a self-signed certificate is used and
342
+ disabling ``verify_peer `` is needed, but security is still desired. Fingerprint
343
+ may be specified in sha1 (40 characters) or md5 (32 characters)::
344
+
345
+ $dsn = 'smtp://user:[email protected] ?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E';
346
+
347
+
337
348
Overriding default SMTP authenticators
338
349
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339
350
You can’t perform that action at this time.
0 commit comments