Manage multiple certificate authorities by organizational context
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- php
调研方向
Start by reading the existing policy infrastructure and the code for CA configuration, certificate issuance, key storage, and CRL routing; the issue does not name specific files or tests. Map how issuer identity and organizational context flow through those paths before proposing an implementation. Done means multiple CAs operate with context isolation, legacy certificates and CRL URLs remain valid, and the specified authorization and revocation tests and documentation are complete.
由索引模型根据 Issue 内容生成。
描述
Goal
Allow a single LibreSign installation to manage multiple certificate authorities (CAs) and associate them with organizational contexts through the existing policy system.
This enables distinct certificate issuers for SaaS customers without equating a Nextcloud group identifier with the cryptographic identity of a CA.
Current behavior
The active CA is identified primarily through instance-level configuration. Certificate issuance, private-key storage and CRL handling are not yet designed around a registry of independent issuers.
Confirmed requirements
- Register multiple CAs with stable, opaque public identifiers.
- Preserve issuer identity, key generation and certificate engine (
OpenSSLorCFSSL). - Maintain compatibility with the existing single-CA configuration and certificates.
- Associate CAs with groups and organizational contexts without exposing group names in public CRL paths.
- Support system-wide defaults and group-scoped CA selection through existing policy infrastructure.
- Allow the system administrator to delegate specific CA administration capabilities.
- Separate policy configuration from privileged CA operations, key custody and rotation.
- Keep CA private keys protected; do not expose raw private-key export as an ordinary group administration feature.
- Maintain correct CRL generation, distribution, caching and revocation for each issuer.
- Preserve historical CRL URLs and validation of existing certificates.
- Identify revocation records by issuer and serial number rather than treating serial numbers as globally unique.
- Handle users belonging to multiple groups without ambiguous implicit issuer selection.
Initial architectural direction
Use independent CA identities with explicit associations to organizational contexts. Keep engineType as part of CRL routing. Start with independently managed roots; evaluate intermediate-CA hierarchies separately if a demonstrated need arises.
Questions to resolve
- Whether one context may authorize several CAs.
- Provisioning, rotation, disablement and eventual retirement of a CA.
- Exact delegated operations available to group administrators.
- Migration of legacy issuer, storage and CRL metadata.
- Isolation boundaries in a shared SaaS process.
Done when
- Multiple issuers can coexist and operate without cross-context certificate or key access.
- Policies determine CA eligibility through backend-validated contexts.
- Revocation and validation remain correct for new and historical certificates.
- Cross-engine, cross-context and negative authorization tests pass.
- CA administration and migration are documented.
Handoff
Before closing, reconcile downstream subject-attribute and signing-selection epics with the actual issuer identity, organizational-context and authorization contracts.
- 主要语言
- PHP
- 星标
- 844
- 派生
- 176
- 平均合并
- 14 小时 3 分钟
- 30 天内合并 PR
- 344
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LibreSign/libresign 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
OpenSSL engine: leaf certificates get O=Internet Widgits Pty Ltd, ST=Some-State from system openssl.cnf可能已有人在做 @vitormattos 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
LibreSign/libresign#9366 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
LibreSign/libresign#9007 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 78/100
LibreSign/libresign#8284 · 5 条评论 ·
维护者通常 1 天内回复
-
frontend javascript technical debt
难度 5/5 一周以上 新手友好度 8/100
维护者通常 1 天内回复
查看 LibreSign/libresign 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
Automattic/blocks-engine#6318 ·
维护者通常 1 天内回复
-
kind/enhancement
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
[remove-resource] Delete Open Course Hub, Open Multicourse Hub, and Learn2 with GitSync skeletons未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 82/100