addLoadBalancerListenerCertificate
    • PDF

    addLoadBalancerListenerCertificate

    • PDF

    기사 요약

    개요

    SNI 기반 다중 TLS 인증서를 추가합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    - 인증서를 추가할 로드밸런서 인스턴스의 리전(Region) 결정
    - regionCode는 getRegionList 액션을 통해서 획득
    - Default: getRegionList 조회 결과의 첫 번째 리전을 선택
    loadBalancerListenerNoYesInteger- 로드밸런서 리스너 번호
    - loadBalancerListenerNo는 getLoadBalancerListenerList 액션을 통해서 획득
    sslCertificateNoYesInteger- SSL 인증서 번호
    - 리스너 프로토콜 유형이 HTTPS 또는 TLS 인 경우 SSL 인증서를 반드시 설정해야 함
    - sslCertificateNo는 GET https://certificatemanager.apigw.ntruss.com/api/v1/certificates 액션을 통해 획득 가능

    응답

    응답 데이터 타입

    • loadBalancerListenerCertificateList 타입
    LoadBalancerInstanceList extends CommonResponse
    private Integer totalRows;
    private List loadBalancerListenerCertificateList = new ArrayList<>();
    loadBalancerListenerCertificate
    private String sslCertificateNo;
    private String memberNo;
    private String loadBalancerDescription;
    private String sslCertificateName;
    private String domainAddress;
    private String validEndDate;
    private Boolean isDefault;
    private Integer statusCode;
    private String statusName;

    예시

    요청 예시

    ncloud vloadbalancer addLoadBalancerListenerCertificate --regionCode KR --loadBalancerListenerNo ****1 --sslCertificateNo ****4
    

    응답 예시

      <addLoadBalancerListenerCertificateResponse>
          <requestId>959a2fe5-fd1b-459a-9af3-df0e51b68e1d</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>3</totalRows>
          <loadBalancerListenerCertificateList>
              <loadBalancerListenerCertificate>
                  <sslCertificateNo>****3</sslCertificateNo>
                  <memberNo>**9</memberNo>
                  <sslCertificateName>cert1-***</sslCertificateName>
                  <domainAddress>www.***.com</domainAddress>
                  <validEndDate>2032-10-11 13:48:39</validEndDate>
                  <isDefault>true</isDefault>
                  <statusCode>1</statusCode>
                  <statusName>Normal</statusName>
              </loadBalancerListenerCertificate>
              <loadBalancerListenerCertificate>
                  <sslCertificateNo>>****3</sslCertificateNo>
                  <memberNo>**9</memberNo>
                  <sslCertificateName>cert1</sslCertificateName>
                  <domainAddress>cert1-***</domainAddress>
                  <validEndDate>2032-**-** **:**:**</validEndDate>
                  <isDefault>false</isDefault>
                  <statusCode>1</statusCode>
                  <statusName>Normal</statusName>
              </loadBalancerListenerCertificate>
              <loadBalancerListenerCertificate>
                  <sslCertificateNo>****4</sslCertificateNo>
                  <memberNo>**9</memberNo>
                  <sslCertificateName>cert2-***</sslCertificateName>
                  <domainAddress>www.****.com</domainAddress>
                  <validEndDate>2032-**-** **:**:**</validEndDate>
                  <isDefault>false</isDefault>
                  <statusCode>1</statusCode>
                  <statusName>Normal</statusName>
              </loadBalancerListenerCertificate>
          </loadBalancerListenerCertificateList>
      </addLoadBalancerListenerCertificateResponse>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.