mozilla / tls-observatory

An observatory for TLS configurations, X509 certificates, and more.
Mozilla Public License 2.0
535 stars 88 forks source link

Retrieve intermediates from kinto #386

Open jvehent opened 5 years ago

jvehent commented 5 years ago

We should have a routine that downloads intermediates from kinto and posts them to /api/v1/certificate

base_url=$(curl -s https://firefox.settings.services.mozilla.com/v1/ | jq -r '.capabilities.attachments.base_url')
for item in $(curl -s https://settings.prod.mozaws.net/v1/buckets/security-state/collections/intermediates/records | jq -r ".data[].attachment.location"); do
    curl -s "${base_url}${item}"
    echo
done
leplatrem commented 5 years ago

Can we use firefox.settings.services.mozilla.com everywhere instead of settings.prod.mozaws.net please?