SpringCloudConfig报错Cannot clone or checkout repository:https://gitee.com/yanfa401/config-repo


今天搭建SpringCloud的ConfigServer时候一直报错

原因在于后台一直报SSL的异常could not be stablished because of SSL problems

找了无数的方法,最后无意间发现有一个配置 skip-ssl-validation属性,然后设置为true就好了,附上我的application.yml文件

spring:
  application:
    name: configServer
  cloud:
    config:
      server:
        git:
          uri: https://gitee.com/yanfa401/config-repo
          username: 你的登录账号
          password: 你的登录密码 skip-ssl-validation: true
eureka:
  client:
    service-url:
      defaultZone: http://localhost:8002/eureka/, http://localhost:8001/eureka/

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM