freedomofpress / ansible-role-jitsi-meet

Installs the Jitsi Meet open source videoconferencing software
23 stars 26 forks source link

Generates separate OpenSSL keypair for Prosody #21

Closed conorsch closed 8 years ago

conorsch commented 8 years ago

The role was previously referencing an FQDN-based keypair in the Prosody config template that wasn't automatically generated by the role. Fortunately the maintainers ship prosodyctl which has a subcommand for generating certs appropriately—let's use that, skipping if the cert already exists.

Separately, fixes a whitespace error that caused the admins dict in the Prosody config to be uninitialized (see b7c4a8b). Also cleans up the default "localhost" nginx site symlink, if installing with prod certs for Nginx.

Closes #11.

conorsch commented 8 years ago

Config runs solid in prod. All local tests pass. Merging.

ageis commented 8 years ago

+1