Skip to content

[@aws-cdk/aws-elasticloadbalancingv2] Unable to add multiple certificate for NLB (TLS) #8918

@alluriv

Description

@alluriv

I am able to manually add certificates in NLB Listener TLS:443 listener but when I try to add using below cdk it is throwing above error

const listener = this.service.loadBalancer.addListener('SecureListener', {
  port: 7443,
  defaultTargetGroups: [this.service.targetGroup],
  certificates: [
    {
      certificateArn: serverCertArn,
    },
    {
      certificateArn: serverCertArn1,
    },
    {
      certificateArn: serverCertArn2,
    },
  ],
});

Use Case

To add multiple certifcates to NLB listener.

Proposed Solution

Add addCertificate function in NLB like ALB for TLS listeners

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-elasticloadbalancingv2Related to Amazon Elastic Load Balancing V2bugThis issue is a bug.effort/smallSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdp2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions