今天搭建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/
