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

UpdateSSLCert 添加DCDN(全站加速)证书配置 #2

Open
narumi147 opened this issue Apr 4, 2024 · 2 comments
Open

UpdateSSLCert 添加DCDN(全站加速)证书配置 #2

narumi147 opened this issue Apr 4, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@narumi147
Copy link

for _domain in "${DOMAIN_LIST[@]}"; do
    aliapi_rpc GET cdn.aliyuncs.com 2018-05-10 SetDomainServerCertificate --DomainName "$_domain" --ServerCertificateStatus on --CertName "$CERT_NAME" --CertType cas || exit 103
done

现在DOMAIN_LIST里的全部通过静态CDN配置,希望能同时支持静态CDN全站加速/DCDN的用例,这两者应该是用的最多的,谢谢!
(至于PCDN等没用过不做评论了)

https://help.aliyun.com/zh/dcdn/developer-reference/api-dcdn-2018-01-15-overview

@Hill-98
Copy link
Owner

Hill-98 commented Apr 4, 2024

如果方便的话,你可以为其提交个 PR。

@narumi147
Copy link
Author

虽然想,但是bash手生没写过 🤣

@Hill-98 Hill-98 self-assigned this Apr 4, 2024
@Hill-98 Hill-98 added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants