Skip to content

Instantly share code, notes, and snippets.

@kleinmann
Created January 9, 2013 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kleinmann/4494087 to your computer and use it in GitHub Desktop.
Save kleinmann/4494087 to your computer and use it in GitHub Desktop.
puppet error regarding HTTPS on Mac OS X
└─⚡︎ puppet module search stdlib ☹
Notice: Searching https://forge.puppetlabs.com ...
Error: Could not connect via HTTPS to https://forge.puppetlabs.com
Unable to verify the SSL certificate
The certificate may not be signed by a valid CA
The CA bundle included with OpenSSL may not be valid or up to date
Error: Try 'puppet help module search' for usage
@jpetazzo
Copy link

Same problem on Linux, btw. It looks like the cert for forge.puppetlabs.com is not properly installed, since "openssl s_client -connect forge.puppetlabs.com:443" shows that the cert chain is incomplete.

@kleinmann
Copy link
Author

I managed to fix the issue (see http://kleinmann.org/2013/01/09/puppet-openssl-osx.html). Might work for linux, too.

@ranzbak
Copy link

ranzbak commented Oct 3, 2018

I managed to fix the issue (see http://kleinmann.org/2013/01/09/puppet-openssl-osx.html). Might work for linux, too.

The link you are referring to is 404 :-|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment