Я работаю с SLES 12 SP1.
При работе
zypper addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
Я получаю следующую ошибку
Download (curl) error for 'https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo':
Error code: Unrecognized error
Error message: SSL certificate problem: unable to get local issuer certificate
Отладка с
openssl s_client -showcerts -connect download.opensuse.org:443 -debug -servername download.opensuse.org
я вижу следующее
...
depth=2 C = US, O = Internet Security Research Group, CN = ISRG Root X1
verify error:num=20:unable to get local issuer certificate
verify return:0
...
---
Certificate chain
0 s:/CN=opensuse.org
i:/C=US/O=Let's Encrypt/CN=R3
-----BEGIN CERTIFICATE-----
MIIGLjCCBRagAwIBAgISBBr/nmQ4pBnrdeCoF3H6OLSlMA0GCSqGSIb3DQEBCwUA
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
EwJSMzAeFw0yMzAzMTEwMDA4NDVaFw0yMzA2MDkwMDA4NDRaMBcxFTATBgNVBAMT
DG9wZW5zdXNlLm9yZzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANQ2
vf/c2+lTn5nqN1H4sIu/rks9D5HJp6UnIlE3dj7WnRHjq7PBETUxgyXtDfdPLXnB
p/KXjeqGoW/W1GJaFxZTuHBlToRNxIp/qWIVVkaeatZHAigJT5+PpGTsVjM3oex5
bR97Ab7shOACcbHMVQ7CBP+bqLtXYFfJfjUmwvPI2hTbMrmOCZe5fZV2AskNnpW+
is6ag4rEGvDKyiQWVbOX87ZraKWWIeaaBo2JJdAB35i56yMLkNGAA4d9mSJKPDjX
BsFx2ZLQLqM+WGnG6UIPrq7/hdwHp70/mafvSAJPRRwnA+D3zsE42Q8dUDZPvUTh
IBEBb3w6ifA8JvopbtubUiCcmL/D4TAHrZ/VWoCDaXgiY5cEifKsyPtqiHa0jXdh
TLOczgLl7ek/qYhlZ30tBJGLUXPhI6s+rZoD15R1/rd+432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icO48rUwC/A8wDQYJKoZIhvcNAQELBQADggEBAC7uzxioInar7QFMiwXr
WqyO1vJdf9e0dICcPzx14BaZday9ps50dJZeCanRcUsVEsrK++Kan9yPzfazQsF7
KhRAWBajAjf1WtC+UddDcVwPe+VPyuzIP3yVuqqPgW5roSDuQiro9RpGpwIPIIQi
nHv1w986AgLLl12wkYqcsfoDpgw7zFqJZkUW6DWZPvk1xePPJq97B5DYyS2BM69J
NdQh0fJICglmQ/3gIUd9L9wx7VVzSYBSkVVAnf9gZkR9De07/CAT5I6cGkq9rFQW
95Jr8A6+9WBqx1RkYU8rwR2D5X/uiOKGMswDC6TPlWqJCBVKQdTbd15BZIy5HxOR
qo8=
-----END CERTIFICATE-----
1 s:/C=US/O=Let's Encrypt/CN=R3
i:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
-----BEGIN CERTIFICATE-----
MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMjAwOTA0MDAwMDAw
WhcNMjUwOTE1MTYwMDAwWjAyMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNTGV0J3Mg
RW5jcnlwdDELMAkGA1UEAxMCUjMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQC7AhUozPaglNMPEuyNVZLD+ILxmaZ6QoinXSaqtSu5xUyxr45r+XXIo9cP
R5QUVTVXjJ6oojkZ9YI8QqlObvU7wy7bjcCwXPNZOOftz2nwWgsbvsCUJCWH+jdx
sxPnHKzhm+/b5DtFUkWWqcFTzjTIUu61ru2P3mBw4qVUq7ZtDpelQDRrK9O8Zutm
NHz6a4uPVymZ+DAXXbpyb/uBxa3Shlg9F8fnCbvxK/eG3MHacV3URuPMrSXBiLxg
Z3Vms/EY96J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Wgy1mdeHmmjk7j1nYsvC9JSQ6Zv
MldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX
nLRbwHOoq7hHwg==
-----END CERTIFICATE-----
2 s:/C=US/O=Internet Security Research Group/CN=ISRG Root X1
i:/O=Digital Signature Trust Co./CN=DST Root CA X3
-----BEGIN CERTIFICATE-----
MIIFYDCCBEigAwIBAgIQQAF3ITfU6UK47naqPGQKtzANBgkqhkiG9w0BAQsFADA/
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT
DkRTVCBSb290IENBIFgzMB4XDTIxMDEyMDE5MTQwM1oXDTI0MDkzMDE4MTQwM1ow
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwggIiMA0GCSqGSIb3DQEB
AQUAA4ICDwAwggIKAoICAQCt6CRz9BQ385ueK1coHIe+3LffOJCMbjzmV6B493XC
ov71am72AE8o295ohmxEk7axY/0UEmu/H9LqMZshftEzPLpI9d1537O4/xLxIZpL
wYqGcWlKZmZsj348cL+tKSIG8+TA5oCu4kuPt5l+lAOf00eXfJlII1PoOK5PCm+D
LtFJV4yAdLbaL9A4jXsDcCEbdfIwPPqPrt3aY6vrFk/CjhFLfs8L6P+1dy70sntK
4EwSJQxwjQMpoOFTJOwT2e4ZvxCzSow/iaNhUd6shweU9GNx7C7ib1uYgeGJXDR5
bHbvO5BieebbpJovJsXQEOEO3tkQjhb7t/eo98flAgeYjzYIlefiN5YNNnWe+w5y
sR2bvAP5SQXYgd0FtCrWQemsAXaVCg/Y39W9Eh81LygXbNKYwagJZHduRze6zqxZ
Xmidf3LWicUGQSk+WT7dJvUkyRGnWqNMQB9GoZm1pzpRboY7nn1ypxIFeFntPlF4
FQsDj43QLwWyPntKHEtzBRL8xurgUBN8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3
---
No client certificate CA names sent
---
SSL handshake has read 5308 bytes and written 485 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 4096 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 658EF2FD83D487DD3FE9BCB345550A490CE6693B8808F3BA4B1CB6879597E898
Session-ID-ctx:
Master-Key: 968B034D2679BDDFDBB90467572409C4016CC78F8947EE5C7AD02368A5AB864C3530491003A39D00D544C128D45BF28C
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - dd 67 ca b4 ec 1f ab 4e-6c f0 31 23 9f b3 07 c0 .g.....Nl.1#....
0010 - c4 33 d7 8e 95 ce 43 23-26 17 bd 2b c2 25 37 78 .3....C#&..+.%7x
0020 - 2f fd ba b8 f1 b2 7f 5d-d1 c6 19 66 95 3f 92 ab /......]...f.?..
0030 - 4a 4c 41 4b af 3b 75 b7-80 27 67 61 fa f3 e3 06 JLAK.;u..'ga....
0040 - 81 9b cf c6 1b 3c 9f 0b-3b 51 d1 f8 67 13 4a 2c .....<..;Q..g.J,
0050 - 13 e6 cc 8b 34 e0 44 e4-0f 7e 7a 03 92 2c 52 07 ....4.D..~z..,R.
0060 - e8 7d ed 7f 65 42 b0 6f-73 10 68 a2 f6 eb 45 9f .}..eB.os.h...E.
0070 - 8d eb e8 d7 90 2a 88 37-87 a2 48 91 70 36 e2 14 .....*.7..H.p6..
0080 - f6 17 50 56 d6 0f c5 02-a6 09 88 2b d5 aa 4d d2 ..PV.......+..M.
0090 - fe 8c 18 ad 5d 29 b6 ce-d3 eb a3 8e c4 72 ec 32 ....]).......r.2
00a0 - 61 30 a9 60 ea d4 48 15-cf e5 b7 25 be 95 9f d5 a0.`..H....%....
00b0 - a7 b0 17 c8 07 e4 7b 4e-df ee fa 8b f5 1e 7f a1 ......{N........
00c0 - 11 da 92 d2 2b 6e 6a d2-60 ed ff 9f 2c a7 c7 d9 ....+nj.`...,...
Start Time: 1680875176
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer certificate)
...
Как я могу исправить эту проблему с сертификатом, чтобы иметь возможность добавить репо?