To use the RSA keys provided by AWS Account/Security in the .NET framework, you must convert the AWS-supplied .pem files to the XML format that the .NET framework uses. You can use below link to convert.
https://superdry.apphb.com/tools/online-rsa-key-converter
https://superdry.apphb.com/tools/online-rsa-key-converter