解决方法:设置跳过ssl校验
spring:
cloud:
config:
server:
git:
uri: https://github.com/xxx/spring-cloud-config-repository.git
username: xxx
password: yyyy
default-label: master
search-paths: config
skip-ssl-validation: true
原文:https://www.cnblogs.com/chongpf/p/12380343.html