Sslkey files are empty

hi.
Because of the tls link,even though captured the tcp packages, we can’t study the message flows between the Nx interface. After i run the network, i can find the xxSSLkey.log generated,however it’s zero size. is there any setting to write the sslkey. i used the latest version of 5gc.
br,thornton.

Hi sir
You need after each test to copy xxsslkey.log file including in Test folder
For example :slight_smile:
./test.sh TestRegistration
Then after test complete make sure that for example amfsslkey.log is not empty
By doing :
cat amfsslkey.log
Then you make this file in wireshark
Protocol --> TLS

hi,
I tried many times,however the xxsslkey.log(s) were created every time(i can check the time by ls) after run the test TestRegistration. but they were all empty of contents. Now we are planning to connect a gNB.
br,thornton.

I met the same issue, all the key files are all empty…

do we have any configuration to change https to http?

In free5gc v3.0.2 or above version, there is a scheme filed in config. If it is http, then the sbi is sending via http without TLS encryption. You don’t need to decrypt it by key files.