Vagrant: SSL-Überprüfungsfehler hinter einem Unternehmens-Proxy
798
Sebi
Mein Unternehmen verwendet einen Proxy. Ich verwende ein Windows 10-Notebook mit 64 Bit. Vagrant Version 2.1.1. Wenn Sie versuchen, ein Vagrant-Plugin zu installieren, z
vagrant plugin install vagrant-proxyconf
Ich sehe den folgenden Fehler:
Installing the 'vagrant-proxyconf' plugin. This can take a few minutes... ERROR: SSL verification error at depth 1: unable to get local issuer certificate (20) ERROR: You must add /DC=net/DC=<MY_COMPANY>/DC=corp/CN=<CA-Name> to your local trusted store Vagrant failed to load a configured plugin source. This can be caused by a variety of issues including: transient connectivity, proxy filtering rejecting access to a configured plugin source, or a configured plugin source not responding correctly. Please review the error message below to help resolve the issue: SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz) Source: https://rubygems.org/
Ich habe die hier gezeigten Schritte ausprobiert: https://stackoverflow.com/questions/19872591/how-to-use-vagrant-in-a-proxy-environment
set http_proxy=http://user:password@host:port set https_proxy=http://user:password@host:port vagrant plugin install vagrant-proxyconf
aber das hat nicht geholfen.
Nachdem Sie das erwähnte Zertifikat exportiert haben (hoffentlich war es das richtige; es gibt zwei Zertifikate mit demselben Namen) und fügen Sie es zu ... \ HashiCorp \ Vagrant \ embedded \ cacert.pem hinzu
(wie durch Installieren von vagrant plugin im Unternehmensnetzwerk vorgeschlagen ), habe ich einen weiteren SSL-Fehler erhalten:
Installing the 'vagrant-proxyconf' plugin. This can take a few minutes... ERROR: SSL verification error at depth 2: unable to get issuer certificate (2) Vagrant failed to load a configured plugin source. This can be caused by a variety of issues including: transient connectivity, proxy filtering rejecting access to a configured plugin source, or a configured plugin source not responding correctly. Please review the error message below to help resolve the issue: SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz) Source: https://rubygems.org/
Es gibt wahrscheinlich mehrere Zertifikatspeicher im Spiel. Sie müssen das Proxy-Stammzertifikat allen hinzufügen.
Daniel B vor 5 Jahren
0
Wissen Sie, wo ich das Proxy-Stammzertifikat finde?
Sebi vor 5 Jahren
0
Fragen Sie die IT-Abteilung oder speichern Sie sie mit Ihrem Webbrowser.
Daniel B vor 5 Jahren
0
Vielen Dank für den Tipp, Daniel B. Unsere IT-Abteilung hatte ein paar Zertifikate, die an Folgendes angehängt werden mussten: \ HashiCorp \ Vagrant \ embedded \ cacert.pem Das funktioniert jetzt einwandfrei.
Sebi vor 5 Jahren
0
0 Antworten auf die Frage
Verwandte Probleme
-
2
Gibt es eine Möglichkeit, ein drahtloses Netzwerk an eine Proxy-Einstellung zu binden?
-
5
Zugriff auf Hulu / Youtube außerhalb der USA
-
1
Opera "vergisst" die Proxy-Definition, wenn der Proxy nicht erreichbar ist
-
5
Firefox automatisch zum Standard-Internet-Proxy machen lassen?
-
2
Sichere E-Mails stürzen Outlook 2007 ab
-
2
Täglicher Dilbert-Streifen mit https
-
1
Apache Reverse Proxy
-
3
Kann nicht herausfinden, warum diese Regex nicht zutrifft
-
2
Kostenloser Proxyserver für Windows Home Server?
-
3
Die Proxy-Einstellungen des PCs werden überschrieben