Fixing automated hue SSL generation and permissions

Change-Id: I0e50bf47a53ac760b66c6d5689c59d1b21f07673