I got this error when I tried to save to C:\Windows\system32. Just put the .pem file in a different directory (Downloads worked for me).