It wasn't including the .pem file without these.