mitid-digital-signature/os2forms_dig_sig_server
Composer 安装命令:
composer require mitid-digital-signature/os2forms_dig_sig_server
包简介
This module provides Digital signature server functionality for Digital Signature clients
README 文档
README
Module purpose
This module provides Digital signature server functionality for Digital Signature clients, implemented by this module (https://github.com/OS2Forms/os2forms/tree/develop/modules/os2forms_digital_signature) and have to be installed on a server along with this backend component (https://github.com/MitID-Digital-Signature/Signing-Server/)
How does it work
This module is passively waiting for the requests on endpoint /sign.
The request type is identified by the action argument.
Supported operations:
getcid: Retrieves a correlation ID (randon UUID)sign: Initiates a signing process for the specifiedURI,forward URL, andhash.cancelorresult: Processes the result or cancels an operation using information from the specified file.download: Send the file for downloading, optionally retaining it based on theleaveparameter.
Settings page
The module provides a configuration form at /admin/os2forms_dig_sig_server/settings
The following settings are available:
-
Signing server URL
The base URL of the signing service. Example:
https://signering.bellcom.dk -
Allowed domains
A comma-separated list of allowed domains from which signing requests are accepted. Example:
sign.localhost, sign.local, localhost, example.vhost.com -
Files working directory
Directory where the source and signed PDF files will be stored. For security reasons, use
private://or a path outside the Drupal web root. -
Hash Salt used for signature
Secret string used when generating and verifying hashes. Must match the hash salt configured on the signature client.
-
Enable debug mode
When enabled, debug messages about signing operations are logged to Drupal watchdog.
Nginx configuration
The installation implementing Digital Signature must have this canonical redirect for /sign.php
if ($request_uri ~* ^/sign\.php(?:\?|$)) {
return 301 /sign?$args;
}
mitid-digital-signature/os2forms_dig_sig_server 适用场景与选型建议
mitid-digital-signature/os2forms_dig_sig_server 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mitid-digital-signature/os2forms_dig_sig_server 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mitid-digital-signature/os2forms_dig_sig_server 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 32
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: EUPL-1.2
- 更新时间: 2026-03-11