Manual download and install - SLES 15 SP2

Hi Community,

I am new here, and also new with managing SLES.

I have been task to update an outdated environment (some runs under sles 15 sp some in sp3 and some with sles for sap sp2 and sp3), now the problem is our vms cannot get update from public cloud smt, getting message “smt-ec2.susecloud.net unable to get local issuer certificate” tried zypper but also no luck, now please dont tell me to search for KB’s as I already have applied those remove and force register again, even seek vendors support for this, but so far no luck.

overview:
our vms are cloud hosted (aws) given everything should be set, we still cannot reregister our server to aws’s public smt server(that’s what I believe what is happening).

now I just wanted to be creative and know if some other have tried manually downloading package mentioned in CVEs and manually install in via rpm in there SLES hosts as I could careless with the registration and fix it later or we might even consider upgrade not so soon though? if someone have tried this approach please share what will be the impact and could give me some pointers which to look out for and avoid?

thank you very much in advance.

just wanted to update this thread. aws will never help you since its within OS level or config related.

this what helps me progress so far to whoever will encounter the same in the future:

use an IP base on your region!!!
echo “54.248.86.233 smt-ec2.susecloud.net smt-ec2” >> /etc/hosts
/usr/bin/ec2metadata --api latest --document --signature --pkcs7 --xml > /tmp/ec2metadata.xml
/usr/sbin/SUSEConnect --url https://smt-ec2.susecloud.net --instance-data /tmp/ec2metadata.xml

now to trick your instance meta data, invoke SUSEConnect -s and you will see the ‘not registerd’ module follow along the pattern chaning the module only of how many module you got, using below sample command.

for example you have sle-module-basesystem/15.2/x86_64 from SUSEConnect -s command use below:
/usr/sbin/SUSEConnect --url https://smt-ec2.susecloud.net --product sle-module-basesystem/15.2/x86_64 --instance-data /tmp/ec2metadata.xml

after that invoke SUSEConnect -s command again and you’ll notice your instance is now having status: registered with this then next thing is add repo and try updating