Only enable https when a certificate and key are set
Bumps version to v1.0.2