Fetching collections from private Artifactory: CERTIFICATE_VERIFY_FAILED

Do you use a certificate signed by the new Sectigo R46 CA? I had the same problem with webhook notifications to our ticketing system.
See Questions about notifications in AWX 24.6.1 - #7 by ildjarn for how I solved it.