Public key install - curl: (60) SSL certificate problem: self signed certificate

Installing graylog on SLES 12 SP5

kye-mgmt02:~ # cat /etc/os-release
PRETTY_NAME=“SUSE Linux Enterprise Server 12 SP5”

Follow instructions explicitly

  • Import the MongoDB public key

kye-mgmt02:~ # rpm --import
curl: (60) SSL certificate problem: self signed certificate

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
error: import read failed(2).

In fact all of the other version keys fail with the same error
How to install the Mongodb public key?
The system should ask to trust, but it does not. Any suggestions?>

I got mongodb installed

The cli would not let me to trust the self-signed cert
BUT yast did and then I could continue to install mongodb

interesting, funny (not very) frustrating and finally great joy.

have a good day.