puppet 3 - OpenSSL not playing nice

Brand new install, FreeBSD 9.1-RELEASE.

/etc/make.conf:
Code:
RUBY_DEFAULT_VER=1.9
BATCH=yes
# added by use.perl 2013-01-03 21:31:20
PERL_VERSION=5.14.2

Installed sysutils/puppet and when I try to do:

Code:
$ puppet module search apache

I get:
Code:
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

What do I need to do to make this work?

Thanks
 
Check out http://comments.gmane.org/gmane.comp.sysutils.puppet.scm/2737.
Previously we had been using 'localhost' as the location of the master, which
is a dangerous assumption with systest, since the master may be located on
another host or 'localhost' may not give us the expected results.

This patch changes the usage of localhost to use the variable 'master' which
should point to the canonical hostname of the master each and every time.
 
The port creates the correct link to verify the SSL certificate:

/usr/local/ssl/cert.pem -> /usr/local/share/certs/ca-root-nss.crt

I'm glad you solved it ;)
 
The link that needed to be created is between /usr/local/share/certs/ca-root-nss.crt and /etc/ssl/cert.pem.

The issue can be resolved automatically by adding the following to /etc/make.conf:

Code:
    .if ${.CURDIR:M*/security/ca_root_nss}
    WITH_ETCSYMLINK=on
    .endif
 
Back
Top