python:3.12-slim-bookworm is a debian per this documentation: https://hub.docker.com/layers/library/python/3.12.2-slim-bookworm/images/sha256-17b9be0df2505a56bd0c013858e04cc81d8e53e963c7a0c551f08723f9418df0
On a Debian operating system, the default location for storing SSL certificates is /etc/ssl/certs.