Certificate installation on Amazon Web Services (AWS) console:
In order to install your certificate via AWS IAM (Identity Access Management) you'll have to:
To convert the certificate in the PEM file format.
Upload your certificate into IAM
aws iam upload-server-certificate --server-certificate-name myServerCertificate --certificate-body file://public_key_cert_file.pem --private-key file://my_private_key.pem --certificate-chain file://my_certificate_chain_file.pem
Note that the parameters that contain file names are preceded with file://. This tells the command that the parameter value is a file name. You can include a complete path following file://.