I want to add certificate
in listner
of ApplicationLoadBalancer
. How can i add and how can i associate with each ther, I am using HTTPS
protocol for that i need to set/configure sslcertificate.
Listener = t.add_resource(elb.Listener(
"Listener",
Certificates=elb.Certificate(
CertificateArn="",
),
Port="443",
Protocol="HTTPS",
LoadBalancerArn=Ref(ApplicationLoadBalancer),
SslPolicy="ELBSecurityPolicy-TLS-1-2-Ext-2018-06",
DefaultActions=[elb.Action(
Type="forward",
TargetGroupArn=Ref(TargetGroupApp)
)]
))
ListenerCertificate = t.add_resource(elb.ListenerCertificate(
"ListenerCertificate",
Certificates=elb.Certificate(
CertificateArn="",
),
ListenerArn=Ref(Listener)
))
How can i add certificate
in listner and listnercertificate
,