You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the installation method uses Docker Compose.
26
26
You can change the installation method and adjust other settings in the `./defaults/main.yml` file, either directly or by overriding variables in your playbook.
27
27
28
+
### 🔐 **SSL Certificate Handling**
29
+
30
+
If you want to provide your own SSL inspection certificates, you can configure the role to copy them to the target machine.
31
+
32
+
* Set the variable `pyproxy."method".ssl_inspect_ca_folder` to the **path of the folder** containing your certificates (e.g. `certs/`).
33
+
* The expected files inside this folder are typically `cert.pem` and `key.pem` or a custom CA used by pyproxy.
34
+
* These files will be copied to `{{ pyproxy."method".install_path }}/certs/ca`.
35
+
36
+
For example for the docker method here are some variables :
37
+
```yaml
38
+
pyproxy:
39
+
docker:
40
+
ssl_inspect_ca_folder: "certs/"
41
+
volumes:
42
+
- source: /opt/pyproxy/certs/ca
43
+
target: /app/certs/ca
44
+
type: folder
45
+
```
46
+
Don't forget to add the CA volume for the "compose" and "docker" methods.
47
+
48
+
⚠️ If the variable `pyproxy.docker.ssl_inspect_ca_folder` is **not defined**, the certificate copy step is skipped automatically.
49
+
50
+
> The path is resolved relative to the role or playbook. Make sure the folder exists and is accessible during the playbook run.
51
+
28
52
## 📄 **License**
29
53
30
54
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments