guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.45k stars 366 forks source link

Update Octoprint Systemd Service to fall back to System CA bundle #831

Closed as-kholin closed 1 month ago

as-kholin commented 1 month ago

Octoprint, because it does not specify a CA bundle anywhere, falls back to the default Python CA bundle. This prevents a user from adding a trusted CA, and being able to use that for connections from Octoprint.

This change lets Octoprint fall back to use the Debian/Raspbian default CA bundle - so that users can update the CA certificates for the OS (and not have to find other options to figure out how to separately change Python's CA cert bundle.

guysoft commented 1 month ago

Thanks for your contribution!