Enable https for layers which support it