I'm behind a corporate proxy, and we have Windows PCs with root ca certs pre-installed so SSL works with the proxy. Within my PC, I'm spinning up Linux VMs for testing, and so I have a need to get those certs installed within the VM so I can hit whatever SSL URL I need (github cloning etc). I've tried a few methods to export the certs from Windows and import them into Ubuntu, but as of yet I am unable to access SSL from within the VM.

This answer gave me the best idea for what format to export the cert in from Windows (base-64 .cer). After I export the .cer files and copy them into place in the VM, I rename them with .crt extensions.

This answer best sums up what I'm trying in the VM.

After I add the certs to the usr/share/ca-certificates directory and run update-ca-certificates the certs do get symlinked into /etc/ssl/certs but still no SSL traffic.

This is on a Windows 7 host, Ubuntu 12.04 guest.

  • What do you mean by "no ssl traffic"? Is firefox complaining that the cert isn't trusted? – psusi Jun 22 '15 at 22:35
  • Both Firefox & Chrome complain about loading any SSL site, and pings/github clones to HTTPS endpoints hang/fail. – danseely Jun 23 '15 at 12:07
  • I am suffering in the EXACT same scenario. This is particularly bad when working with git as all repo cloning is just blowing up. – Peter Short Feb 24 '16 at 15:22
  • Yeah, and I never actually got it working. Fortunately I'm not at that gig anymore, so ¯_(ツ)_/¯ – danseely Feb 25 '16 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.