Open zsjlovestudy opened 7 months ago
Hi @zsjlovestudy
Could you please try to run this command to make sure that the certificates are correct:
openssl s_client -showcerts -servername components-file.espressif.com -connect components-file.espressif.com:443 </dev/null
The output should be like:
Connecting to 65.9.95.86
CONNECTED(00000007)
depth=2 C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert Global Root G2
verify return:1
depth=1 C=US, O=DigiCert Inc, CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
verify return:1
depth=0 C=CN, ST=上海市, O=乐鑫信息科技(上海)股份有限公司, CN=*.espressif.com
verify return:1
---
Certificate chain
0 s:C=CN, ST=上海市, O=乐鑫信息科技(上海)股份有限公司, CN=*.espressif.com
i:C=US, O=DigiCert Inc, CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: May 13 00:00:00 2023 GMT; NotAfter: Jun 12 23:59:59 2024 GMT
-----BEGIN CERTIFICATE-----
MIIG8DCCBdigAwIBAgIQBxPX3RYiJPDTCuBVSekC0DANBgkqhkiG9w0BAQsFADBZ
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMTMwMQYDVQQDEypE
aWdpQ2VydCBHbG9iYWwgRzIgVExTIFJTQSBTSEEyNTYgMjAyMCBDQTEwHhcNMjMw
NTEzMDAwMDAwWhcNMjQwNjEyMjM1OTU5WjB2MQswCQYDVQQGEwJDTjESMBAGA1UE
CAwJ5LiK5rW35biCMTkwNwYDVQQKDDDkuZDpkavkv6Hmga/np5HmioDvvIjkuIrm
tbfvvInogqHku73mnInpmZDlhazlj7gxGDAWBgNVBAMMDyouZXNwcmVzc2lmLmNv
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOM8dvxz1qOiKGO9b3t+
APqUzQDMYCknwZAEA4MgiVZjIcUN74Z0BSfhEupsvPPAZ8Mc2rGGsd8YuY8Fi+yz
93pISvMNveAHNXejb1HH2bnwR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xK1wAABAMARjBEAiBN
6+4gWafddVfp3rEZ0YgGA5/ehOvqBMG+ZP+0dNkjfQIgELQ1DptL17wZack+mt95
9XxMxFegLdAIYb4MgbXuamMAdgBIsONr2qZHNA/lagL6nTDrHFIBy1bdLIHZu7+r
OdiEcwAAAYgUbEruAAAEAwBHMEUCIE9/x99Cw9JaznglCKFuI4T1qZEWtPC//bYF
Cehfwmo/AiEAu2Wi8cgc9MR8hs4vlnAFA4/sxa/rXRNaPxbzhiNyBKMAdQDatr9r
P7W2Ip+bwrtca+hwkXFsu1GEhTS9pD0wSNf7qwAAAYgUbEq0AAAEAwBGMEQCIEX4
o36umIXUFsZ9eGyuBrot1j00+n98LBQgqemQbAG1AiBTXukDwZOQCLgkiYuAWjgP
9lrGSjJ5+rsQdfQV0A+6ijANBgkqhkiG9w0BAQsFAAOCAQEAUM0maP4T6O+D5En+
cfwnPkwdCugThVT9a0m/ssKsr19vak2f2utwlSt4J25+eKVIcymL9qb4RtgShXCJ
1mZl5GonESeBL4WWqYyF0g0I9yaXgU+g5AbGGpCw+vZccM4sa+CfSfzVWNbISn3c
l5F5V7kRS9Rb22u1YemqReH9fwYhMffew1QKZtrnZxH7aazsfJEOxxtSrAjw5DAA
/3QakoOV1kC1j2VwkQg/Ls6QwDnipi84dQBl/A/GyPu0oQHYPjpNwgVcqxAKOPiP
8Pakkdzg7PeZY1mPIQbk1gFAI1DMFgUQwKo7CQOSvl1D9bVTyxM4cYC6jRqZD/Q4
ALpPgQ==
-----END CERTIFICATE-----
1 s:C=US, O=DigiCert Inc, CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
i:C=US, O=DigiCert Inc, OU=www.digicert.com, CN=DigiCert Global Root G2
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Mar 30 00:00:00 2021 GMT; NotAfter: Mar 29 23:59:59 2031 GMT
-----BEGIN CERTIFICATE-----
MIIEyDCCA7CgAwIBAgIQDPW9BitWAvR6uFAsI8zwZjAN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RH
Mi5jcnQwQgYDVR0fBDswOTA3oDWgM4YxaHR0cDovL2NybDMuZGlnaWNlcnQuY29t
L0RpZ2lDZXJ0R2xvYmFsUm9vdEcyLmNybDA9BgNVHSAENjA0MAsGCWCGSAGG/WwC
ATAHBgVngQwBATAIBgZngQwBAgEwCAYGZ4EMAQICMAgGBmeBDAECAzANBgkqhkiG
9w0BAQsFAAOCAQEAkPFwyyiXaZd8dP3A+iZ7U6utzWX9upwGnIrXWkOH7U1MVl+t
wcW1BSAuWdH/SvWgKtiwla3JLko716f2b4gp/DA/JIS7w7d7kwcsr4drdjPtAFVS
slme5LnQ89/nD/7d+MS5EHKBCQRfz5eeLjJ1js+aWNJXMX43AYGyZm0pGrFmCW3R
bpD0ufovARTFXFZkAdl9h6g4U5+LXUZtXMYnhIHUfoyMo5tS58aI7Dd8KvvwVVo4
chDYABPPTHPbqjc1qCmBaZx2vN4Ye5DUys/vZwP9BFohFrH/6j/f3IL16/RZkiMN
JCqVJUzKoZHm1Lesh3Sz8W2jmdv51b2EQJ8HmA==
-----END CERTIFICATE-----
---
Server certificate
subject=C=CN, ST=上海市, O=乐鑫信息科技(上海)股份有限公司, CN=*.espressif.com
issuer=C=US, O=DigiCert Inc, CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 3557 bytes and written 401 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256
Server public key is 2048 bit
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
DONE
Related issue: https://github.com/espressif/esp-idf/issues/13007
If you are located in mainland China, you can also try using the mirror in Beijing. Set the environment variable IDF_COMPONENT_STORAGE_URL
to https://components-file.espressif.cn/
through the settings page on Windows to set it permanently, or run a command to set it temporary for the current window:
set IDF_COMPONENT_STORAGE_URL=https://components-file.espressif.cn/
$env:IDF_COMPONENT_STORAGE_URL = "https://components-file.espressif.cn/"
Is your feature request related to a problem?
在用vscode,命令行增加了idf.py add-dependency "espressif/led_strip^2.5.3"。 编译的时候下载不到组件,能教一下怎么设置代理或者还有什么其他最简单的方法。 我相信大部分国内的人都是这样用不了,如果没有设置代理的方法,我git已经设置过了,可以正常下载,但是这个espidf里不行![image](https://github.com/espressif/idf-extra-components/assets/52393677/4a033dd2-9d1b-4e88-8bf9-d32d7103ad36)
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response