保险库WebUI证书

发布于 2025-02-01 10:15:55 字数 142 浏览 4 评论 0原文

我刚刚构建了一个正确工作的保险库服务器,但是在WebUI上的每个连接下,我被要求验证证书:

您知道为什么我有此消息吗?可以绕过这个问题吗?

有关信息,我使用通配符证书 *.mydomain.com。

最好的问候

I have just built a vault server that works correctly but at each connection on the webui, I am asked to validate a certificate:

Do you know why I have this message? Is it possible to bypass this problem?

For information, I use a wildcard certificate *.mydomain.com.

Best regards,

M.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

提赋 2025-02-08 10:15:55

估计默认情况下支持相互的TLS。 Vault要求您提出自己的证书以进行身份​​验证,并继续使用其他身份验证方法,如果没有提供客户端证书。

您可以通过设置 /a>在服务器的配置中,在tcp stanza下(需要重新启动)。

您可以找到基于知识的文章中的更多详细信息 @zam。

Vault supports mutual TLS by default. Vault asks that you present your own certificate to authenticate and continues with other authentication methods if no client certificate is provided.

You can turn it off by setting tls_disable_client_certs = true in your server's configuration, under the tcp stanza (restart required).

You can find more details in this knowledge based article by @Zam.

小红帽 2025-02-08 10:15:55

解决此问题涉及对TCP侦听器的config stanza进行调整。 对于TCP侦听器,保管库包括一个称为  false   and Vault将在可用时请求客户端证书。  

要禁用此行为,只需在您的保险库配置文件中更新TCP侦听器stanza即可包括以下行。

tls_disable_client_certs = "true"

以下是在保险库配置文件中看起来的示例。

...  
listener "tcp" {  
  address = "0.0.0.0:8200"  
  tls_cert_file = "/opt/vault/tls/vault-cert.crt"  
  tls_key_file = "/opt/vault/tls/vault-key.key"  
  tls_client_ca_file = "/opt/vault/tls/vault-ca.crt"  
  tls_disable_client_certs = "true"  
}  
...

如果您想阅读更多信息,我写了知识库文章详细说明如何处理。

Fixing this issue involves making a tweak to your TCP listener's config stanza.  For the TCP listener, Vault includes a parameter called tls_disable_client_certs which allows you to toggle this functionality.  By default, the value of this parameter is false and Vault will request client certificates when available.  

To disable this behavior, simply update the TCP listener stanza in your Vault configuration file to include the following line.

tls_disable_client_certs = "true"

Below is an example of how this would look in a Vault configuration file.

...  
listener "tcp" {  
  address = "0.0.0.0:8200"  
  tls_cert_file = "/opt/vault/tls/vault-cert.crt"  
  tls_key_file = "/opt/vault/tls/vault-key.key"  
  tls_client_ca_file = "/opt/vault/tls/vault-ca.crt"  
  tls_disable_client_certs = "true"  
}  
...

If you'd like to read more, I wrote a knowledge base article detailing how to handle this.

默嘫て 2025-02-08 10:15:55

谢谢您的回答。

通过添加此行:

tls_disable_client_certs = true

我不必再提交证书了。

最好的问候,
M.

Thank you for your answers.

By adding this line:

tls_disable_client_certs = true

I don't have to submit a certificate anymore.

Best regards,
M.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文