Skip to content

Commit a4d7c9f

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Adding HTTP Certificates
2 parents 1816d1c + e160c76 commit a4d7c9f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

http_client.rst

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

763+
HTTPS Certificates
764+
~~~~~~~~~~~~~~~~~~
765+
766+
HttpClient uses the system's certificate store to validate SSL certificates
767+
(while browsers use their own stores). When using self-signed certificates
768+
during development, it's recommended to create your own certificate authority
769+
(CA) and add it to your system's store.
770+
771+
Alternatively, you can also disable ``verify_host`` and ``verify_peer`` (see
772+
:ref:`http_client config reference <reference-http-client>`), but this is not
773+
recommended in production.
774+
763775
Performance
764776
-----------
765777

0 commit comments

Comments
 (0)