Skip to content

Commit e160c76

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Adding HTTP Certificates
2 parents c747cb8 + cff3403 commit e160c76

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
@@ -767,6 +767,18 @@ called when new data is uploaded or downloaded and at least once per second::
767767
Any exceptions thrown from the callback will be wrapped in an instance of
768768
``TransportExceptionInterface`` and will abort the request.
769769

770+
HTTPS Certificates
771+
~~~~~~~~~~~~~~~~~~
772+
773+
HttpClient uses the system's certificate store to validate SSL certificates
774+
(while browsers use their own stores). When using self-signed certificates
775+
during development, it's recommended to create your own certificate authority
776+
(CA) and add it to your system's store.
777+
778+
Alternatively, you can also disable ``verify_host`` and ``verify_peer`` (see
779+
:ref:`http_client config reference <reference-http-client>`), but this is not
780+
recommended in production.
781+
770782
Performance
771783
-----------
772784

0 commit comments

Comments
 (0)