zoukankan      html  css  js  c++  java
  • [AWS] Solve Error: Could not find the certificate xxxx.com. at ServerlessCustomDomain.<anonymous>


    When runs "serverless create_domain", we may get the following error:

    Could not find the certificate xxxx.com. at ServerlessCustomDomain.

    This indicates you probably don't have the SSL/TLS certificate for your custom domain.

    You need go to: AWS -> Certificate Manager -> Request a certificate

    Follow the steps:

    • Add domain names (for example: api.xxxx.com)
    • Select validation method (DNS validation)
    • Add Tags (I skip this step)
    • Review
    • Validation

    If your domain is hosted by Route53, you can directly push the dns configuration for the host zone by clicking Create record in Route 53.

    Refresh the page after some time, if you see the your certificate shows Issued, you can re-run the script.


    ### Reference: [How do I define a custom domain for my API Gateway API?](https://www.youtube.com/watch?v=gd-Qa-HQHMs)
  • 相关阅读:
    ## 序列化和反序列化
    C#小型资源管理器
    codeforces #310 div1 B
    codeforces #310 div1 A
    BZOJ 1030 文本生成器
    BZOJ 2806 cheat
    BZOJ 2553 禁忌
    BZOJ 4199 品酒大会
    codeforces #309 div1 D
    codeforces #309 div1 C
  • 原文地址:https://www.cnblogs.com/grandyang/p/12335663.html
Copyright © 2011-2022 走看看