check for existence of keys for https
write keys on creation