amazon web services - Where can I manage uploaded IAM user SSL certificates in AWS? -


i uploaded custom ssl certificate , key use cloudfront via aws cli ami user:

$ aws iam upload-server-certificate --server-certificate-name my-cert --certificate-body file://https-cert.crt --private-key file://private-key.pem 

i got json response including certificate id , further information. aim use custom ssl certificate (ami user certificate or acm certificate pruchased through aws) radio button option remains disabled. expected active after having added certificate user.

option can't chosen.

i can't find hint missed or uploaded certificate has gone.

solution: missing /cloudfront/ path key problem. following command let me upload , choose certificate in cloudfront.

aws iam upload-server-certificate --server-certificate-name my-cert --certificate-body file://https-cert.crt --certificate-chain file://ca-chain.crt --private-key file://private-key.pem --path /cloudfront/ 

cloudfront not have access all of uploaded server certificates (such certs might upload use elb). can access path matching /cloudfront/*.

if uploading server certificate use amazon cloudfront distributions, must specify path using --path option. path must begin /cloudfront , must include trailing slash (for example, /cloudfront/test/ ).

http://docs.aws.amazon.com/cli/latest/reference/iam/upload-server-certificate.html

uploading certificate path cloudfront can see seems part of process missed, since didn't mention having done that, in question.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -