如何注册spring-boot应用程序以通过https进行领事?

问题描述 投票:0回答:1

有人可以提供进行Spring Boot服务注册以通过https进行咨询所需的配置(所有必要步骤)。>

我已将Consul配置为https端口8501。但是,请进行以下设置,

spring.cloud.consul.port = 8501spring.cloud.consul.scheme = https

还不够。我确定我需要使用证书,但是可以使用自签名证书吗?如果是,那么我可以让领事信任自签名证书吗?

亲切的问候,

有人可以提供进行Spring Boot服务注册以通过https进行咨询所需的配置(所有必要步骤)。我已将Consul配置为https端口8501。...

spring-boot consul spring-cloud-consul
1个回答
0
投票

我在互联网上找到的最接近的回复来自以下帖子,

© www.soinside.com 2019 - 2024. All rights reserved.