"Unacceptable TLS certificate" when making requests via libsoup
Description
Try the code below inside an environment created by flatpak run --share=network org.freedesktop.Sdk//18.08
$ python3 -m pip install -U --user pygobject
$ python3 -c 'from gi.repository import Soup; Soup.Session().send(Soup.Message.new("GET", "https://example.org/"))'
Expected Result
The source code of the requested page
Actual Result
Traceback (most recent call last):
File "<string>", line 1, in <module>
gi.repository.GLib.Error: g-tls-error-quark: Unacceptable TLS certificate (2)