* fix: handle invalid ssl value in GUI * fix: handle invalid ssl value in backend and move logic to sdk