首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Putty和AWS:如何上载服务器证书?

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

Stack Overflow用户
提问于 2014-03-18 18:22:58
回答 2查看 766关注 0票数 1

我一直在试图找出这些领域中哪些是属于什么的:

代码语言:javascript
复制
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次下载的电子邮件:

PKCS#7 Base64编码

作为PKCS#7 Bin编码

作为X509,Base64编码

仅作为X509证书,Base64编码

作为X509中间层/根目录,Base64编码

当X509中间/根只反向时,Base64编码

我正在使用这个链接:http://docs.aws.amazon.com/IAM/latest/UserGuide/InstallCert.html,但我被卡在了“上传服务器证书”部分。

"??“在田里到底该怎么做?

代码语言:javascript
复制
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? 

谢谢,

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-04-28 18:08:23

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

代码语言:javascript
复制
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

我使用InCommon SSL证书来完成此任务。

票数 0
EN

Stack Overflow用户

发布于 2014-03-18 19:02:37

--certificate-body仅为X509证书,Base64编码,--certificate-chain为X509中间/根,Base64为编码。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22487859

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档