我想直接在我的eb扩展文件中为应用程序负载平衡器配置多个ssl证书,但是无法在我的配置下设置多个ARN:
- namespace: aws:elbv2:listener:443
option_name: SSLCertificateArns
value: 'arn:aws:acm:eu-west-1:xxx' # or 'arn:aws:acm:eu-west-1:xxx,arn:aws:acm:eu-west-1:yyy'
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html#command-options-general-elbv2-listener-default> SSLCertificateArns仅接受一个ARN
我尝试将arn的值用逗号分隔,但出现此错误
Updating Load Balancer listener named: arn:aws:elasticloadbalancing:eu-west-1:xxx failed Reason: Up to '1' certificate ARNs can be specified, but '2' were specified (Service: AmazonElasticLoadBalancingV2; Status Code: 400; Error Code: TooManyCertificates; Request ID: xxx
我可以手动添加SSL证书,但是在每个部署中都会创建一个新环境(和一个应用程序负载平衡器),因此我的配置会丢失。
您找到解决此问题的方法了吗?或解决方法?