How to decode http2 packets in wireshark

I want to read the NGAP packets but they are encrypted.
I followed the steps mentioned in troubleshooting however they didn’t work for me.

I am trying to load ssl keys into, key.log files but they appear as 0 bytes

keylog error

What version of free5GC are you using?

Can you show your config of AMF?

Also note that ssl log is for HTTP2 encryption. If you use H2C setting, the ssl log will remain empty since it is not encrypting.