Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 部署 SSL 证书前校验证书有效期 #945

Closed
DevDengChao opened this issue Jun 13, 2020 · 1 comment
Closed

[Feature] 部署 SSL 证书前校验证书有效期 #945

DevDengChao opened this issue Jun 13, 2020 · 1 comment

Comments

@DevDengChao
Copy link
Contributor

建议在 https://github.com/alibaba/funcraft/blob/master/src/lib/deploy/deploy-by-tpl.js#L495-L508 范围添加证书有效期校验.

  • 禁止用户上传已过期证书.
  • 对于短期内即将过期的证书发出警告.

实现方式: openssl x509 -noout -enddate -in ${PUBLIC_CERT_PEM}

@DevDengChao DevDengChao changed the title [FEATURE] 部署 SSL 证书前校验证书有效期 [Feature] 部署 SSL 证书前校验证书有效期 Jun 13, 2020
@DevDengChao
Copy link
Contributor Author

已迁移到 @serverless-devs/s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant