How do I enable TLS between container in free5gc-compose?

Good morning free5gc Community,

As it is said in the title of the topic, I am currently trying to use TLS for the communication between NFs in free5gc-compose.
If im not wrong, the procedure to activate TLS is to change http -> https in all the files of the dir /config

After doing this and dropping mongodb, I captured the traffic between NFs interfaces and still got SSL instead of TLS.

Is there something im missing or missunderstanding in the process?
Thanks in advance,

Jaime

Hello @JaimeBotiaLanzas,
the TLS-way communication should work after configuring to https.

1. cd config ; sed -i 's/http:/https:/g' *.yaml
2. modify nrfcfg.yaml 'scheme' field to https
3. drop mongodb and run again

If your code doesn’t work after doing so, please provide your code patch, traffic pcang and output log file for further analysis.

Thank you very much for your answer. I made it work, it was a mistake i made when i was using Wireshark I was still getting SSL but later talking with a colleague he told me it was TLS even thought its says SSL. These steps that you list here are more or less what it worked for me too.
Thank you very much for your answer, I really apprecciate it.

1 Like