Microsoft 365 – resolving error : curl: (1) Protocol “‘https” not supported or disabled in libcurl

Resolving error – curl: (1) Protocol “‘https” not supported or disabled in libcurl

How to execute SharePoint Online REST API from UNIX / LINUX