Only generate private key and certificate request if ssl enabled.
authorBen Pfaff <blp@nicira.com>
Wed, 23 Jul 2008 21:53:06 +0000 (14:53 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 23 Jul 2008 21:55:04 +0000 (14:55 -0700)
commitd72616d5440c2e7f2f5b6a660d10280fd05b8baa
tree5ace8ab2d2426a74a7fc854ba15698707281e69e
parent5fed6531b9146c9d30222062b83d9403ee254e03
Only generate private key and certificate request if ssl enabled.

Generating them unconditionally caused a problem with the init script:
the script required there to be a certificate for the private key if
the private key existed, but we do want to allow TCP-only configurations
and always having a private key prevented that.

Also, give the user advice on how to deal with this problem when it
arises in the init script.
debian/ofp-switch-setup
debian/openflow-switch.init