Page MenuHomePhabricator

Add the puppet CA to the MediaWiki deployment
Closed, ResolvedPublic

Description

We need php to be able to fetch content via TLS directly from some specific sources, like e.g. the etcd servers.

Thus we need to add a configmap that adds a ca bundle (possibly just containing the puppet CA for now)

Event Timeline

Joe triaged this task as High priority.Jun 7 2021, 4:57 AM

Change 698456 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/deployment-charts@master] mediawiki: add ca-bundle to chart

https://gerrit.wikimedia.org/r/698456

Change 698456 merged by jenkins-bot:

[operations/deployment-charts@master] mediawiki: add ca-bundle to chart

https://gerrit.wikimedia.org/r/698456

Change 698758 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/docker-images/production-images@master] Add ca-certificates to the php images

https://gerrit.wikimedia.org/r/698758

Change 698758 merged by Giuseppe Lavagetto:

[operations/docker-images/production-images@master] Add ca-certificates to the php images

https://gerrit.wikimedia.org/r/698758

Change 698801 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/deployment-charts@master] mediawiki: force curl to use the puppet CA

https://gerrit.wikimedia.org/r/698801

After further consideration, we came to the conclusion that the best course of action is:

  • For now, hotpatch the chart to use the puppet ca
  • Create a "wmf-internal-certificates" package, depending on ca-certificates, that just installs our internal CAs
  • Install this debian package in final / blubber images that need it.

Change 698801 merged by jenkins-bot:

[operations/deployment-charts@master] mediawiki: force curl to use the puppet CA

https://gerrit.wikimedia.org/r/698801

Change 699155 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/debs/wmf-certificates@main] Add base debian directory

https://gerrit.wikimedia.org/r/699155

Change 699155 merged by Giuseppe Lavagetto:

[operations/debs/wmf-certificates@main] Add base debian directory

https://gerrit.wikimedia.org/r/699155

Mentioned in SAL (#wikimedia-operations) [2021-06-22T07:53:36Z] <joe> uploaded wmf-certificates package to buster-wikimedia/main, T284417

Change 700843 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/mediawiki-config@master] pipeline: install the wmf internal CAs

https://gerrit.wikimedia.org/r/700843

Change 700843 merged by jenkins-bot:

[operations/mediawiki-config@master] pipeline: install the wmf internal CAs

https://gerrit.wikimedia.org/r/700843

Change 701511 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/deployment-charts@master] mediawiki: do not add our CAs artificially

https://gerrit.wikimedia.org/r/701511

Change 701511 merged by jenkins-bot:

[operations/deployment-charts@master] mediawiki: do not add our CAs artificially

https://gerrit.wikimedia.org/r/701511

Change 710294 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[operations/docker-images/production-images@master] New image: php7.2-fpm-multiversion-base

https://gerrit.wikimedia.org/r/710294

Change 710294 merged by Giuseppe Lavagetto:

[operations/docker-images/production-images@master] New image: php7.2-fpm-multiversion-base

https://gerrit.wikimedia.org/r/710294