• [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)
  • 相关阅读:
    LeetCode-389-找不同
    xml配置与使用
    curl使用
    php中JPGraph入门配置与应用
    php开发通用采集程序
    adodb配置与使用
    swfupload上传
    ZendFramework使用中常见问题
    memcache配置与使用
    第四章 供给与需求的市场力量
  • 原文地址:https://www.cnblogs.com/grandyang/p/12335663.html
Copyright © 2020-2023  润新知