Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

1

1.1K
Views
EJECUTAR pip install: hubo un problema al confirmar el certificado SSL: [SSL: CERTIFICATE_VERIFY_FAILED] verificación del certificado fallida

Siguiendo el laboratorio de [GitHub][1] para obtener más información sobre los contenedores de Docker, me encontré con este problema:

 No matching distribution found for Flask==0.10.1 (from -r /usr/src/app/requirements.txt (line 1)) Could not fetch URL https://pypi.python.org/simple/flask/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726) - skipping``` [1]: https://github.com/docker/labs/blob/master/beginner/chapters/webapps.md
over 4 years ago · Santiago Trujillo
1 answers
Answer question

1

El problema está relacionado con el hecho de que estoy en una red detrás de un BlueCoat (una especie de cortafuegos) que inspecciona y oculta casi toda la comunicación de mi escritorio e Internet.

Después de la búsqueda de Google, encontré el comando para ignorar el problema del certificado:

Simplemente agregue esto a mi dockerfile --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org

 # our base image FROM alpine:3.5 # Install python and pip RUN apk add --update py2-pip # install Python modules needed by the Python app COPY requirements.txt /usr/src/app/ RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org --no-cache-dir -r /usr/src/app/requirements.txt # copy files required for the app to run COPY app.py /usr/src/app/ COPY templates/index.html /usr/src/app/templates/ # tell the port number the container should expose EXPOSE 5000 # run the application CMD ["python", "/usr/src/app/app.py"]
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!