ssl check if keys exist