原因:你本地的idea證書不可以
解決方式1:
你去安裝一個正版的;
解決方式2:
設置接受不受信任證書即可。
AS:File - Settings - Tools - Server Certificates - [勾選]Accept non-trusted certiticates aotumatically
2.1、進入Settings配置窗口
2.2、打開對應的Tools - Server Certificates - 勾選Accept non-trusted certiticates aotumatically,點擊apply即可。