Skip to content

Commit 676f7f4

Browse files
fix: use absolute paths for custom TLS certificate and private key (#127)
Signed-off-by: Dario Faccin <[email protected]> Co-authored-by: Ajay Lotan Thakur <[email protected]>
1 parent 3f2abb6 commit 676f7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/init.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ func (udm *UDM) Start() {
198198
udmKeyPath := path_util.Free5gcPath("free5gc/support/TLS/udm.key")
199199
if sbi.Tls != nil {
200200
udmLogPath = path_util.Free5gcPath(sbi.Tls.Log)
201-
udmPemPath = path_util.Free5gcPath(sbi.Tls.Pem)
202-
udmKeyPath = path_util.Free5gcPath(sbi.Tls.Key)
201+
udmPemPath = sbi.Tls.Pem
202+
udmKeyPath = sbi.Tls.Key
203203
}
204204

205205
self := context.UDM_Self()

0 commit comments

Comments
 (0)