~gary/charms/precise/juju-gui/run-without-ppa

Viewing all changes in revision 19.

  • Committer: Francesco Banconi
  • Date: 2012-12-22 10:51:37 UTC
  • mfrom: (18.1.10 juju-gui)
  • Revision ID: francesco.banconi@canonical.com-20121222105137-x9sujt2baekh3x2i
Allow using an own SSL cert and private key.

Added two new config options, one for the certificate, one
for the private key. If they are both provided, they are used
by nginx, otherwise, a new certificate is automatically 
generated.

Fixed a pre-existent bug: even if you can specify the 
directory where to store the certificates, this path 
was not used by nginx, because an hardcoded one was
present in the configuration file.

Improved how ssl options are handled in config-changes.
If the SSL path is changed using 'juju set', now that
change is reflected in the nginx config file, and the
service correctly restarted.

Added tests for the process of saving or generating SSL
certificates.

Some code clean up.

Please note that all the SSL stuff is still 
disabled/commented.

R=teknico, matthew.scott, gary.poster
CC=
https://codereview.appspot.com/6976046

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: