Amazon web services 使用Putty和AWS:如何上载服务器证书?

Amazon web services 使用Putty和AWS:如何上载服务器证书?,amazon-web-services,certificate,putty,Amazon Web Services,Certificate,Putty,我一直在试图找出这些字段中的哪些字段: aws iam upload-server-certificate --server-certificate-name certificate_object_name --certificate-body file://public_key_certificate_file --private-key file://privatekey.pem --certificate-chain file://certificate_chain_file 我收到了一

我一直在试图找出这些字段中的哪些字段:

aws iam upload-server-certificate --server-certificate-name certificate_object_name --certificate-body file://public_key_certificate_file --private-key file://privatekey.pem --certificate-chain file://certificate_chain_file
我收到了一封包含6次下载的电子邮件:

PKCS7 Base64编码

作为PKCS7 Bin编码

与X509一样,Base64编码

仅作为X509证书,Base64编码

仅作为X509中间产物/根,Base64编码

与X509中间产物/仅根相反,Base64编码

我正在使用这个链接:但是我被困在上传服务器证书部分

到底什么是应该去的领域与

aws iam upload-server-certificate 
--server-certificate-name <Server Name> <-- My input
--certificate-body file://<??.pem> 
--private-key file://<KEYNAME.pem> <-- My input
--certificate-chain file://<??> <-- What should the chain file consists of and in what format? 

谢谢,

-证书正文仅为X509证书,Base64编码,-证书链为X509中间产物/根目录,Base64编码。

我终于将其安装到linux服务器上了! 下面是我插入Putty命令行的确切命令:

aws iam upload-server-certificate --server-certificate-name mywebsitecert --certificate-body file:///home/ec2-user/mywebsite/mywebsitecert.pem --private-key file:///home/ec2-user/mywebsite/privatekey.pem --certificate-chain file:///home/ec2-user/mywebsite/interm_reverse.cer

我使用了常见的SSL证书来完成此任务。

您好,现在我收到一个错误,读取错误传递参数“-certificate body”:文件不存在:仅X509证书,Base64编码