Build failed due to SSL Certificate Verification Error

I am trying to build Couchbase Server on CentOS 7.6, but I’m facing this SSL certificate verification error:

-- Creating Miniconda3 4.5.4 venv 
-- Downloading and caching miniconda3-4.5.4 
CMake Error at tlm/cmake/ModulPreformatted textes/CBDownloadDeps.cmake:359 (MESSAGE): 
  Failed installing cbdep miniconda3 4.5.4: Safe version is 4.5.4 
  Starting install for package miniconda3 
  Identified platform Linux 
  [100576] Failed to execute script cbdep 
  Traceback (most recent call last): 
    File "urllib3/", line 600, in urlopen 
    File "urllib3/", line 343, in _make_request 
    File "urllib3/", line 839, in _validate_conn 
    File "urllib3/", line 344, in connect 
    File "urllib3/util/", line 344, in ssl_wrap_socket 
    File "", line 407, in wrap_socket 
    File "", line 814, in __init__ 
    File "", line 1068, in do_handshake 
    File "", line 689, in do_handshake 
  ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 
  (_ssl.c:841)`Preformatted text`

I have already installed the correct CA certificate on my system and have verified that I am able to download other packages.

I believe I have to install the certificate again in some virtual environment to resolve this error. I’m also ok with turning off verification altogether. How do I do either of these things?