Error configuring exercism CLI on Ubuntu

Configuring exercism CLI gives me the following error:

Error: The base API URL 'https://api.exercism.io/v1' cannot be reached.

Get "https://api.exercism.io/v1/ping": x509: certificate signed by unknown authority

Below is the output of exercism troubleshoot:

Troubleshooting Information
===========================

Version
----------------
Current: 3.2.0
Latest:  3.2.0


Operating System
----------------
OS:           linux
Architecture: amd64


Configuration
----------------
Home:      /home/akallank
Workspace: /home/akallank/exercism
Config:    /home/akallank/.config/exercism
API key:   1238*****************************e34

API Reachability
----------------

GitHub:
    * https://api.github.com
    * [connected]
    * 350.200607ms

Exercism:
    * https://api.exercism.io/v1/ping
    * [Get "https://api.exercism.io/v1/ping": x509: certificate signed by unknown authority]
    * 345.543628ms


If you are having trouble please file a GitHub issue at
https://github.com/exercism/exercism.io/issues and include
this information.