Okay, I decided to do this. And I succeeded.
So here’s what I did:
1: I set my system up for secure boot. For that, I had to go through the Wiki section on “Booting the Machine that supports only one signature with vendor provided Keys”. I won’t go through the details, since it probably doesn’t apply to you.
2: I saved the tumbleweed key (from that wiki page) into a file “tweed.pem”.
3: I converted to DER format
openssl x509 -inform PEM -outform DER -in tweed.pem -out tweed.der
4: I copied the file “tweed.der” to “/boot/efi”. I later also copied to “/boot/efi/EFI/opensuse”, so I’m not certain which one of those actually worked (I think it was the one just in “/boot/efi”
5: This is where problems began to arise.
I ran MokManager, using an entry I had added to my boot menu. I think there’s a bug there. I selected “install from hard disk”. But it just gave me the same output as if I selected “install hash”. That did not happen to me in my earlier experience (different computer running 12.3). I had expected that it would list the file name “tweed.der”. I suggest that you file a bug report on this, and post the bug number (then I’ll add my own comments).
6: Because of that failure, I booted back into opensuse (details of that, below). I then did
# cd /boot/efi
# mokutil --list-enrolled ### it showed empty
# mokutil --list-new ### it showed empty
# mokutil --import tweed.der
Password: (I entered a password here -- I think it just to encrypt the request)
Password-again: (same password)
# modutil --list-new ### it now listed the cert that I wanted to enrol
7: I rebooted, and again selected MokManager from my menu
8: I was given a list of keys (only one in the list), and asked to enter the number of the key I wanted to enroll. I entered “1” (without the quotes)
On the next prompt, I entered 0 (to continue). It seemed to enroll the key. It then gave an option to continue with boot or to add another key. I told it to continue with boot.
9: I booted into my system, which demonstrated that the key was working.
NOTE: on secure booting. I have been carefully retaining a 3.11.10 kernel (from the installed 13.1). I do this, so that with secure-boot enabled, I can select Advanced Options on the grub menu, and select a kernel which I know will secure-boot. I set the multi-boot options in “/etc/zypp/zypp.conf” to
multiversion.kernels = latest,latest-1,running,oldest
so that kernel cleanup will retain the oldest which should be an original 13.1 kernel. That way, even with secure-boot on, I can get into my Tumbleweed system.
I used that fallback kernel in step 6 above (after the MokManager failure). However, I used the latest Tumbleweed kernel “3.15.5-39.g01d2774-desktop” in my final boot (step 9 above), which proved that I had it working.
I hope that helps. And please file that bug report (see step 5 above).