we can use a .pem key if it exists