Puppet SSL error when install modules

30 Jun 2013

tanin@machine:~/Project/readdaily-puppet (master)$ puppet module install --modulepath=./modules puppetlabs-postgresql Notice: Preparing to install into /Users/tanin/Project/readdaily-puppet/modules ... Notice: Downloading from 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

HTTPS is a jerk; You can overwrite the module repository with a normal HTTP URL.

Do this:

puppet module install --modulepath=./modules --module_repository=http://forge.puppetlabs.com --force puppetlabs-postgresql

Give it a kudos