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/