ModelEngine-Group / ModelEngine-Group/fit-framework

feat(fit): Nacos 注册中心支持 HTTPS 双向认证

Open
#284 2 comments 0 reactions 1 assignee View on GitHub

@CodeCasterX is already working on this.

Since Sep 5, 2025.

status: waiting-for-internal-feedback type: feature
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

功能摘要 / Feature Summary

nacos 当前的代码配置未找到可以配置证书的选项,需要增加配置,支撑客户端与服务端的 https 双向认证

功能类型 / Feature Type

全新功能 / New Feature

优先级 / Priority

高 - 非常需要这个功能 / High - Really need this feature

问题描述 / Problem Description

在生产环境中,为了安全问题需要保证客户端与服务端的证书的双向认证,因此需要最新的nacos注册中心的连接也要支持证书的认证,当前问题可能有以下两种情况:
1、当前的代码配置不需要额外的证书接入位置,依赖框架自身的 https 能力以及在 nacos 服务端配置上证书即可实现双向认证(这里需要调研下,如何在 nacos 服务器中添加证书以及实现 https 的双向认证)
2、需要修改当前的配置,nacos 注册接口调用,需要额外配置证书信息(也需要调研下)。

建议的解决方案 / Proposed Solution

可能有以下两种情况:
1、当前的代码配置不需要额外的证书接入位置,依赖框架自身的 https 能力以及在 nacos 服务端配置上证书即可实现双向认证(这里需要调研下,如何在 nacos 服务器中添加证书以及实现 https 的双向认证)
2、需要修改当前的配置,nacos 注册接口调用,需要额外配置证书信息。

替代方案 / Alternative Solutions

No response

确认事项 / Confirmations
  • 我已经搜索了现有的 issues 和讨论,确认这不是重复建议
    I have searched existing issues and discussions, confirming this is not a duplicate suggestion

  • 这个功能符合项目的目标和范围
    This feature aligns with the project's goals and scope

  • 我理解这个功能可能需要时间来实现
    I understand this feature may take time to implement

  • 我愿意协助实现这个功能 (可选)
    I'm willing to help implement this feature (optional)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.