Skip to content

Commit dce80f9

Browse files
committed
minor #15362 Adding HTTP Certificates (ThomasLandauer)
This PR was merged into the 4.4 branch. Discussion ---------- Adding HTTP Certificates See symfony/symfony#41255 Questions: * Should I create an anchor for `verify_host` and `verify_peer` to be able to link directly to these headings? * Maybe a link on how to actually add it to the system store? For ubuntu I found https://askubuntu.com/a/94861/800003 and https://superuser.com/a/719047 Commits ------- 2c197f7 Adding HTTP Certificates
2 parents 06e3809 + 2c197f7 commit dce80f9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

http_client.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,17 @@ called when new data is uploaded or downloaded and at least once per second::
712712
Any exceptions thrown from the callback will be wrapped in an instance of
713713
``TransportExceptionInterface`` and will abort the request.
714714

715+
HTTPS Certificates
716+
~~~~~~~~~~~~~~~~~~
717+
718+
HttpClient uses the system's certificate store to validate SSL certificates
719+
(while browsers are using their own stores). If you're using self-signed certificates
720+
during development, the recommended way is to create your own certificate authority (CA)
721+
and add it to your system's store.
722+
Alternatively, you can also disable `verify_host` and `verify_peer` (see
723+
:ref:`http_client config reference <reference-http-client>`), but this is not
724+
recommended in production.
725+
715726
Performance
716727
-----------
717728

0 commit comments

Comments
 (0)