首页 > 其他 > 详细

Solve Error: Could not find the certificate xxxx.com. at ServerlessCustomDomain.<anonymous>

时间:2020-02-20 16:02:26      阅读:50      评论:0      收藏:0      [点我收藏+]



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?

Solve Error: Could not find the certificate xxxx.com. at ServerlessCustomDomain.<anonymous>

原文:https://www.cnblogs.com/grandyang/p/12335663.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!