# Error configuring 3D Slicer - CMake does not support the HTTPS protocol

**URL:** <https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476>\
**Category:** Development\
**Created:** [March 10, 2021, 7:06pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476 "2021-03-10T19:06:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VivianTetzner](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viviantetzner/32/9296_2.png) [@VivianTetzner](https://discourse.slicer.org/u/VivianTetzner)\
**Post date:** [March 10, 2021, 7:06pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476/1 "2021-03-10T19:06:02Z")

</div>

Hi, I’m having trouble while trying to configure, and then generate, de 3D Slicer using CMake.

→ **3D Slicer 4.8** : from git SlicerGitSVNArchieve, using **git checkout** to config the right commit where is the tree for the 4.8 version of 3D Slicer.  
 → **CMake 3.10.3** : built from source – Following [software installation - How do I install the latest version of cmake from the command line? - Ask Ubuntu](https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line/865294#865294) Teocci’s **A** path to install  
 → **gcc and g++ available** : 9.3 and 5.3.1  
 → **Qt** : 4 and 5

**The error** :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/f/0f0ebcb63e8cec9d48bddda7e146dbf865a154ec.png)

I tried to follow this [error: This CMake does not support the HTTPS protocol. Ensure that CMake is compiled with CMAKE\_USE\_OPENSSL enabled. · Issue #4839 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/issues/4839), but when I tryed the steps, these were the answers:

→ /path/to/cmake -P /path/to/Slicer/CMake/SlicerCheckCMakeHTTPS.cmake

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/f/9f958e6fd3bc4598e53a2c8793f3dc5e85d45f4b.png)

→ update file CMake/SlicerCheckCMakeHTTPS.cmake:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/5/854a01228e6c671720b785cf0c7a1f9a6cc0caeb.png)

→ Replacing [https://raw.githubusercontent.com/Slicer/Slicer/master/CMakeLists.txt](https://raw.githubusercontent.com/Slicer/Slicer/master/CMakeLists.txt) with [https://google.com](https://google.com)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/1/b1b7c39bf600839c1825ae6f779c0c2e2a4932d8.png)

I couldn’t find a way to fix it

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2021, 7:26pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476/2 "2021-03-10T19:26:58Z")

</div>

Is there a reason you are trying to build Slicer-4.8 instead latest master? We cannot spend much time with helping developers trying to make very old Slicer versions work.

---

<div class="post-metadata">

**Author:** ![VivianTetzner](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viviantetzner/32/9296_2.png) [@VivianTetzner](https://discourse.slicer.org/u/VivianTetzner)\
**Post date:** [March 10, 2021, 7:38pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476/3 "2021-03-10T19:38:04Z")

</div>

Yes, I’m trying to build a program that a lab collegue did for his PhD, in 2018. I have the full code, which is open in github: [GitHub - CSIM-Toolkits/MRCardio: 3D Slicer extension that provides a set of modules of segmentation, registration and cardiac images analysis](https://github.com/CSIM-Toolkits/MRCardio). But I can’t build it, so I started going “back in time” and using older versions of configurations. I thought of changing the ITK version for start, but it implied that I changed the other, in order to work.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2021, 7:50pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476/4 "2021-03-10T19:50:28Z")

</div>

In this field, 3 years is a long time. Instead of struggling with trying to review an old software stack, trying to nag application and library developers with supporting old code, and in the end producing something that most people cannot use (since nobody uses Slicer-4.8 anymore), I would recommend to skip forward and build the extension with the latest Slicer version. Lots of things have changed in ITK, VTK, Slicer, Python, etc. but you can always get help for updating software to work with latest application/library versions. If you run into any trouble with Slicer we can definitely help here, and probably with most VTK, ITK, Python problems, too.

---

<div class="post-metadata">

**Author:** ![VivianTetzner](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/viviantetzner/32/9296_2.png) [@VivianTetzner](https://discourse.slicer.org/u/VivianTetzner)\
**Post date:** [March 10, 2021, 8:02pm UTC](https://discourse.slicer.org/t/error-configuring-3d-slicer-cmake-does-not-support-the-https-protocol/16476/5 "2021-03-10T20:02:43Z")

</div>

Got it. This solution was a long-term plan, to update the extension, but I will change my plans and start working on it. Thanks for the attention @lassoan, for sure I will need more help in the near future 😅
