Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdbfcbb1

Browse files
committed
[Mailer][Smtp] Add DSN parampeer_fingerprint for fingerprint verification
documentation forsymfony/symfony#51450
1 parent80f7c9e commitdbfcbb1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎mailer.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,17 @@ the application or when using a self-signed certificate::
334334

335335
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0';
336336

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:pass@smtp.example.com?peer_fingerprint=6A1CF3B08D175A284C30BC10DE19162307C7286E';
346+
347+
337348
Overriding default SMTP authenticators
338349
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339350

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp