Skip to content

Commit b462b4b

Browse files
Migrate documentation to mkdocs
1 parent 07cf706 commit b462b4b

File tree

85 files changed

+17984
-495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+17984
-495
lines changed

.github/workflows/documentation.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Required
2+
version: 2
3+
4+
# Set the OS, Python version, and other tools you might need
5+
build:
6+
os: ubuntu-24.04
7+
tools:
8+
python: "3.13"
9+
10+
# Build documentation with Mkdocs
11+
mkdocs:
12+
configuration: mkdocs.yml
13+
14+
# Optionally, but recommended,
15+
# declare the Python requirements required to build your documentation
16+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
17+
# python:
18+
# install:
19+
# - requirements: docs/requirements.txt

docs/Makefile

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/api/http_header.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/api/http_request.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api/https_proxy_handler.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/api/index.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/api/tls_store.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/conf.py

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
Use a custom Certificate Authority (CA)
2-
=======================================
1+
# Use a custom Certificate Authority (CA)
32

4-
5-
.. danger::
3+
!!! danger "Security Warning"
64
When using a custom CA bundle, ensure that nobody else can access the private key of your CA certificate.
75
If an attacker gains access to the private key, they could potentially intercept and decrypt your HTTPS traffic.
86
This is a significant security risk, so handle the CA private key with care and trust this CA only
@@ -12,22 +10,19 @@ Use a custom Certificate Authority (CA)
1210
Use dedicated browser instance or load the CA certificate only in specific applications
1311
where you need to intercept HTTPS traffic.
1412

15-
1613
A certificate authority (CA) is used to sign the certificates for the domains you proxy.
1714
By default your system's trusted CA bundle is used to validate the certificates of the target servers.
1815

19-
To incerpt HTTPS traffic, you need to create your own CA certificate and configure your system or application
16+
To intercept HTTPS traffic, you need to create your own CA certificate and configure your system or application
2017
to trust this CA. This allows the proxy to generate and sign certificates for the target domains on-the-fly,
2118
allowing it to decrypt and inspect the HTTPS traffic.
2219

23-
Usage of custom CA in your applications
24-
----------------------------------------
20+
## Usage of custom CA in your applications
2521

26-
Curl
27-
^^^^^^^^^^^^
28-
To use a custom CA bundle with curl, you can use the `--cacert` option to specify the path to your CA certificate file.
22+
### Curl
2923

30-
.. code-block:: console
31-
32-
$ curl --cacert ca_certificate.pem --proxy http://127.0.0.1:8888 https://httpbin.org/get
24+
To use a custom CA bundle with curl, you can use the `--cacert` option to specify the path to your CA certificate file.
3325

26+
```console
27+
curl --cacert ca_certificate.pem --proxy http://127.0.0.1:8888 https://httpbin.org/get
28+
```

0 commit comments

Comments
 (0)