Lab 1 Error: curl: (1) Protocol "https" not supported or disabled in libcurl
In Lab 1:
When i try to execute the following command it is giving the error
command: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Error: Error: curl: (1) Protocol "https" not supported or disabled in libcurl
could you please let me know the reason, i am using Oracle virtual box. I wasted lot of time in web but did not get the correct option
Comments
-
The command you entered above is correct, so you aren't running it wrong. It might be a problem with the installation of curl or another dependency. I recommend you uninstall and reinstall curl, and afterward any other dependency you previously installed. Then it should work. Best of luck
0 -
@kmyatt and @Amarnath.Aitha I too faced the same problem with AWS ubuntu 18.04. I had to use wget (wget -O- ) instead
0 -
Hmmm That's odd. Docker should support that download method using curl. The official documentation even recommends using curl.
It's most likely an issue with ssl... go ahead and uninstall curl, then run
sudo apt install libssl-dev
sudo apt install curlThat should fix it.
0 -
I'm getting this same error and have not been able to get around it. I've spent hours trying to troubleshoot it but nothing works. I've tried different installations of Ubuntu 16 and 18 and continue to have this same problem. Suggestion provided above did not solve. Please let me know if someone has a suggestion. Finding it difficult to move past the initial setup.
0 -
used wget as mentioned above to get past this step.
1 -
I am facing the same problem. Let me know how wget can be used here instead. Tried several ways but not working
1 -
Nevermind. I resolved this using instruction provided in below link. Worked for me. Issue with https
https://medium.com/@sh.tsang/installation-of-docker-3b18d9e70bea1
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 778 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 8 DevOps & GitOps IT Professional Program
- 104 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 21 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 55 Cloud & Containers Training
- 7 Cybersecurity Training
- 5 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 12 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 799 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 97 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 776 Linux Distributions
- 83 Debian
- 68 Fedora
- 25 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 474 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 47 Web Management
- 194 Mobile Computing
- 32 Android
- 146 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 409 Off Topic
- 129 Introductions
- 36 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 740 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)