Skip to content

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

@surpercodehang

Description

@surpercodehang

功能摘要 / 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)

Metadata

Metadata

Assignees

No fields configured for Feature.

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions