Telecominfraproject / openlan-cgw

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Cgw Tls: try to base64 decode cert/key #81

Closed Cahb closed 1 month ago

Cahb commented 1 month ago

It's possible that underlying cert/key is also a base64 encoded PEM file. Try to decode, if decoding succeeds, it means we should proceed with base64 decoded buffer. If not - plain text, nothing changes.