https://bugzilla.wikimedia.org/show_bug.cgi?id=68387

--- Comment #4 from Bryan Davis <[email protected]> ---
This has been broken as long as we have been in eqiad as far as I know.
role::protoproxy::ssl::beta is used to setup the nginx ssl terminators in front
of *.beta.wmflabs.org. That in turn applies role::protoproxy::ssl::beta::common
which includes `install_certificate{'star.wmflabs.org': privatekey => false}`.
The "privatekey => false" bit there tells puppet not to try and manage the ssl
private key install. This is done because labs/private.git does not contain the
x509 private key for the real *.wmflabs.org cert (for good reason).

To fix it we need to either:
a) Have an Opsen populate /etc/ssl/private/star.wmflabs.org.key on all of the
frontend boxes for beta [0]. This private key must match the public key in
operations/puppet [1].
b) Create a self-signed cert for beta and change puppet
** Put the private key in labs/private/ssl on deployment-salt
** Put the public key in operations/puppet/files/ssl on deployment-salt (or
operations/puppet)
** Change role::protoproxy::ssl::beta::common to install the new self-signed
cert


[0]:
https://wikitech.wikimedia.org/w/index.php?title=Special:Ask&q=%5B%5BResource+Type%3A%3Ainstance%5D%5D%5B%5BPuppet+Class%3A%3Arole%3A%3Aprotoproxy%3A%3Assl%3A%3Abeta%5D%5D&p=format%3Dbroadtable%2Flink%3Dall%2Fheaders%3Dshow%2Fsearchlabel%3D%E2%80%A6-20further-20results%2Fclass%3Dsortable-20wikitable-20smwtable&po=%3FInstance+Name%0A%3FPuppet+Class%0A%3FPuppet+Var%0A&sort=Modification+date&order=DESC&limit=50&eq=no
[1]:
https://github.com/wikimedia/operations-puppet/blob/production/files/ssl/star.wmflabs.org.pem

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to