I'm following the directions here[1] on building a custom kernel to test some patches[2] related to suspend[3] on my new HP ENVY X360 AMD laptop without S3 support.

The directions could be updated to include which commands need to be run as root, however, my problem is at this step:

"""
Create a PKCS #12 key file:

openssl pkcs12 -export -out key.p12 -inkey key.pem -in cert.der
"""

# openssl pkcs12 -export -out key.p12 -inkey key.pem -in cert.der
unable to load certificates

Both files are in the current directory...

Thanks,
Richard

[1] https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/#_secure_boot
[2] https://gitlab.freedesktop.org/drm/amd/-/issues/1230#note_671110
[3] https://gitlab.freedesktop.org/drm/amd/-/issues/1230