[PR #268] [MERGED] feat: multiple certificate formats #893

Closed
opened 2026-03-03 01:06:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/268
Author: @fudiwei
Created: 10/26/2024
Status: Merged
Merged: 10/29/2024
Merged by: @usual2970

Base: mainHead: feat/multiple-certificate-formats


📝 Commits (6)

  • e7870e2 feat: support specified shell on deployment to local
  • adad5d8 feat: support specified format on deployment to local/ssh
  • 305f3de Merge branch 'main' into feat/multiple-certificate-formats
  • 6d7a91f refactor: clean code
  • 009e8fb feat: preset scripts on deployment to local
  • b47a1a1 feat: support jks format

📊 Changes

15 files changed (+1096 additions, -172 deletions)

View changed files

📝 go.mod (+3 -1)
📝 go.sum (+4 -1)
📝 internal/deployer/deployer.go (+61 -12)
📝 internal/deployer/local.go (+98 -46)
📝 internal/deployer/ssh.go (+100 -54)
internal/pkg/utils/fs/fs.go (+51 -0)
📝 internal/pkg/utils/x509/x509.go (+27 -2)
📝 ui/src/components/certimate/DeployEditDialog.tsx (+4 -1)
📝 ui/src/components/certimate/DeployToHuaweiCloudELB.tsx (+1 -1)
ui/src/components/certimate/DeployToLocal.tsx (+450 -0)
📝 ui/src/components/certimate/DeployToSSH.tsx (+244 -34)
📝 ui/src/i18n/locales/en/nls.domain.json (+26 -8)
📝 ui/src/i18n/locales/zh/nls.domain.json (+25 -10)
📝 ui/src/pages/dashboard/Dashboard.tsx (+1 -1)
📝 ui/src/pages/history/History.tsx (+1 -1)

📄 Description

此 PR 包含以下内容变更:

  • feat: 本地部署时支持选择脚本执行环境(已支持 sh、cmd、powershell)。
  • feat: 本地或 SSH 部署时支持选择证书格式(已支持 PEM、PFX、JKS)。关闭 #250
  • feat: 本地或 SSH 部署时提供预设脚本(已支持 IIS 导入证书,来自 @LeoChen98 #255)。

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/268 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 10/26/2024 **Status:** ✅ Merged **Merged:** 10/29/2024 **Merged by:** [@usual2970](https://github.com/usual2970) **Base:** `main` ← **Head:** `feat/multiple-certificate-formats` --- ### 📝 Commits (6) - [`e7870e2`](https://github.com/certimate-go/certimate/commit/e7870e2b0599292cbf4cb50ca7a431d3101d6c0c) feat: support specified shell on deployment to local - [`adad5d8`](https://github.com/certimate-go/certimate/commit/adad5d86badf8cd99c13262a36a79265974c0e92) feat: support specified format on deployment to local/ssh - [`305f3de`](https://github.com/certimate-go/certimate/commit/305f3de50fd6a235959056d839d8a23fc29adb1b) Merge branch 'main' into feat/multiple-certificate-formats - [`6d7a91f`](https://github.com/certimate-go/certimate/commit/6d7a91f49ba83794af9c37f7c0ebbf62917c96e8) refactor: clean code - [`009e8fb`](https://github.com/certimate-go/certimate/commit/009e8fb976f89713265d091aab4b590ac216017c) feat: preset scripts on deployment to local - [`b47a1a1`](https://github.com/certimate-go/certimate/commit/b47a1a13cbfcff6bdf6aefe37308950a99568460) feat: support jks format ### 📊 Changes **15 files changed** (+1096 additions, -172 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+3 -1) 📝 `go.sum` (+4 -1) 📝 `internal/deployer/deployer.go` (+61 -12) 📝 `internal/deployer/local.go` (+98 -46) 📝 `internal/deployer/ssh.go` (+100 -54) ➕ `internal/pkg/utils/fs/fs.go` (+51 -0) 📝 `internal/pkg/utils/x509/x509.go` (+27 -2) 📝 `ui/src/components/certimate/DeployEditDialog.tsx` (+4 -1) 📝 `ui/src/components/certimate/DeployToHuaweiCloudELB.tsx` (+1 -1) ➕ `ui/src/components/certimate/DeployToLocal.tsx` (+450 -0) 📝 `ui/src/components/certimate/DeployToSSH.tsx` (+244 -34) 📝 `ui/src/i18n/locales/en/nls.domain.json` (+26 -8) 📝 `ui/src/i18n/locales/zh/nls.domain.json` (+25 -10) 📝 `ui/src/pages/dashboard/Dashboard.tsx` (+1 -1) 📝 `ui/src/pages/history/History.tsx` (+1 -1) </details> ### 📄 Description 此 PR 包含以下内容变更: - **feat**: 本地部署时支持选择脚本执行环境(已支持 sh、cmd、powershell)。 - **feat**: 本地或 SSH 部署时支持选择证书格式(已支持 PEM、PFX、JKS)。关闭 #250 - **feat**: 本地或 SSH 部署时提供预设脚本(已支持 IIS 导入证书,来自 @LeoChen98 #255)。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:06:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#893
No description provided.