Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve intermediates from kinto #386

Open
jvehent opened this issue Mar 13, 2019 · 1 comment
Open

Retrieve intermediates from kinto #386

jvehent opened this issue Mar 13, 2019 · 1 comment

Comments

@jvehent
Copy link
Contributor

jvehent commented Mar 13, 2019

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants