1503 fix ActivityPub publishing for self-signed CA certs
requested to merge linos/mobilizon:1503-fix-ActivityPub-publishing-for-self-signed-CA-certs into main
Hotfix for #1503
However, better logging and handling of the response should be added as well in the near future.