initial commit for cert fields
added some error handling for certs, https redirection
ignominiously remove janky https redirect