मुझे कॉरपोरेट प्रॉक्सी सर्वर और स्व-हस्ताक्षरित सीए प्रमाणपत्रों के पीछे वग्रेंट कमांड निष्पादित करने में समस्याएं आ रही हैं। मैंने पर्यावरण चर HTTP_PROXY, HTTPS_PROXY, और HTTP_NO_PROXY चर कॉन्फ़िगर किए हैं।वग्रेंट सीए प्रमाणपत्रों को कॉन्फ़िगर करना
मेरे पास एक जावा कुंजी स्टोर है जिसमें सभी कॉर्पोरेट प्रमाणपत्र हैं। मैंने कई विकल्प के साथ keytool कमांड के -exportcert विकल्प का उपयोग किया है। मैंने openssl कमांड का उपयोग कई विकल्पों के साथ किया है और परिणामस्वरूप फ़ाइलों को बिना किसी सफलता के Vagrant स्थापना के भीतर एम्बेडेड रूबी निर्देशिकाओं के भीतर कई स्थानों में रखा है।
मैंने रूबी और कर्ल को कॉन्फ़िगर करने के बारे में जानकारी रखने वाली कई साइटों को पढ़ा है लेकिन काम करने के लिए वग्रेंट कमांड प्राप्त करने में कोई सफलता नहीं मिली है। रूबी और कर्ल विकल्पों पर ध्यान केंद्रित करने वाली सभी पोस्ट्स जिन्हें मैं समझ नहीं पा रहा हूं कि वग्रेंट के साथ कैसे उपयोग किया जाए जिसमें रुबी को वग्रेंट के एम्बेडेड घटक के रूप में शामिल किया गया हो।
कृपया जावा कुंजी स्टोर से प्रमाणपत्रों को सही ढंग से निर्यात करने के तरीके के बारे में निर्देश प्रदान करें और वैकल्पिक रूप से उन्हें परिवर्तित करें और परिणामी फ़ाइलों को रखें ताकि वाग्रेंट सफलतापूर्वक इंटरनेट प्रॉक्सी के माध्यम से इंटरनेट पर संवाद कर सके।
Vagrant 1.9.5 विंडोज 7 पर
Vagrant स्थापना निर्देशिका C: \ Apps \ Vagrant \
C:\WorkArea> vagrant plugin install vagrant.proxyconf
ERROR: SSL verification error at depth 3: self signed certificate in certificate chain (19)
ERROR: Root certificate is not trusted (/C=US/O=xxx xxx/OU=xxx xxx Certification Authority/CN=xxx xxx Root Certification Authority 01 G2)
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
C:\WorkArea> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'puppetlabs/ubuntu-16.04-64-puppet' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'puppetlabs/ubuntu-16.04-64-puppet' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/puppetlabs/ubuntu-16.04-64-puppet"]
Error: SSL certificate problem: self signed certificate in certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
क्या आप अपनी 'Vagrantfile' जानकारी साझा कर सकते हैं? – Haranadh