UE in UERANSIM is unable to connect the Open5gs where every NFs has their TLS enabled; [nas] [error] Initial Registration failed: [UE_IDENTITY_CANNOT_BE_DERIVED_FROM_NETWORK] #3237
Unanswered
timamghosh30
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear community,
Recently, I deployed Open5gs with UERANSIM on Ubuntu. I deployed Open5gs using 'apt' and UERANSIM by compiling the UERANSIM source codes. The details of the deployments are as follows,
UERANSIM
Open5gs
OS
Due to the requirements of my project, I need to enable the TLS feature of the network functions (NFs) in Open5gs. Before enabling the TLS feature in every NFs in Open5gs, I tested the UERANSIM with Open5gs. In this case, the UE in UERANSIM was able to establish the PDU session and create the uetunsim0 interface.
Thereafter, I changed the config files of each NF in Open5gs, located at /etc/open5gs/, to enable the TLS feature. After changing these config files, I used Wireshark to observe the communications among the NFs. In this context, I observed that the NFs communicate among themselves over TLS. But, I tried to test UERANSIM with TLS-enabled Open5gs, and the UE in UERANSIM could not establish the PDU session. The logs and modified config files are as follows,
UE output:
![Screenshot from 2024-05-28 10-34-14](https://private-user-images.githubusercontent.com/98443294/334342398-533f77b1-90a7-4c1c-8edb-5eb765e00211.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MTgwNDAsIm5iZiI6MTcxOTkxNzc0MCwicGF0aCI6Ii85ODQ0MzI5NC8zMzQzNDIzOTgtNTMzZjc3YjEtOTBhNy00YzFjLThlZGItNWViNzY1ZTAwMjExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDEwNTU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3M2JjN2M4MDEzYzlmOTBiYzBhMTViOGVjYzZiZjk5NDg1OWUzZmZhMjkzNjE1ZThjODY2MTNhOTY3YzdkNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qhbckeAklShXP3HUMR1E_V2SYnXPITcDodIFIT0vwdY)
gNB output:
![Screenshot from 2024-05-28 10-33-27](https://private-user-images.githubusercontent.com/98443294/334342615-27f4a6d5-6644-4f0b-b27f-1670c487024d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MTgwNDAsIm5iZiI6MTcxOTkxNzc0MCwicGF0aCI6Ii85ODQ0MzI5NC8zMzQzNDI2MTUtMjdmNGE2ZDUtNjY0NC00ZjBiLWIyN2YtMTY3MGM0ODcwMjRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDEwNTU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkYThjZjBhY2ZiNTQyMjgyN2IyZTk0ZDczNjdhMTE2ZjIyYWYyYjVmNGE4ZWUyZTBmMmUyYzk5YmM4ODliNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.k1ssu287Ze87epWIVoobtaQUnfMpXKTgu3OFXYOavhM)
UE registration details using WebUI:
![Screenshot from 2024-05-28 11-12-50](https://private-user-images.githubusercontent.com/98443294/334344575-99551678-34b0-4a04-8901-3d8afdfd8eae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MTgwNDAsIm5iZiI6MTcxOTkxNzc0MCwicGF0aCI6Ii85ODQ0MzI5NC8zMzQzNDQ1NzUtOTk1NTE2NzgtMzRiMC00YTA0LTg5MDEtM2Q4YWZkZmQ4ZWFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDEwNTU0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkNzJlYmI1MjA1MWJlYzY0ZDM0Yzk4MWIzY2I1MTNmMDgxOTJhYTQ5MTFlMjdiZTgxMjg5OWU4OGNiZTk3MTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pFDPR5tu7d_9mWn_tHbSuoXIYLacxm3_Tky003F8ud0)
My observation:
As I am a novice in the domain of Open5gs and UERANSIM, I am not sure whether I misconfigured the NFs or the UERANSIM that creates these issues. Could you please help me out?
Beta Was this translation helpful? Give feedback.
All reactions