Hi Aiyadurai,

Check whether puppet master and agent have configurations according to [1].

[1] - http://sajithblogs.blogspot.com/2014/12/puppet-configs.html

Thank you!

On Thu, Jun 11, 2015 at 6:31 PM, Sajith Abeywardhana <saji...@wso2.com>
wrote:

> Hi Rajeewan,
>
> Did you inspect tcp dump? It seems like SSL handshake fail when requesting
> a certificate.
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: saji...@wso2.com <mahe...@wso2.com> | Web: www.wso2.com
>
> On Thu, Jun 11, 2015 at 3:35 PM, Aiyadurai Rajeevan <rajeev...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> I have been working on integrating Appfactory developer setup puppet
>> script for Mac, When I run the the setup script i got below exception. Your
>> expertise would be much appreciated to resolve this issue.
>>
>> ###########################################
>> ### Starting AppFactory Developer Setup ###
>> ###########################################
>>
>> Removing previous agent certificates...
>>
>> Setting username and password for puppet agent...
>> Enter username (default username is "afpuppet" and press enter to
>> continue with the default):
>> Enter password (default password is "afpuppet" and press enter to
>> continue with the default):
>> Installing mkpasswd...
>> sudo: apt-get: command not found
>> ############# Starting mysql setup ####################
>> /Library/Ruby/Site/puppet/defaults.rb:214: warning: Insecure world
>> writable dir /usr/local/bin in PATH, mode 040777
>> tee: setup-logs/puppet2015-06-11.15:26:32.log: No such file or directory
>> /Library/Ruby/Site/puppet/defaults.rb:214: warning: Insecure world
>> writable dir /usr/local/bin in PATH, mode 040777
>> Warning: Setting templatedir is deprecated. See
>> http://links.puppetlabs.com/env-settings-deprecations
>>    (at /Library/Ruby/Site/puppet/settings.rb:1139:in
>> `issue_deprecation_warning')
>> Info: Creating a new SSL key for 7j4755-mysql
>> Info: Caching certificate for ca
>> Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
>> Info: Creating a new SSL certificate request for 7j4755-mysql
>> Info: Certificate Request fingerprint (SHA256):
>> A5:91:3E:BB:B1:39:4C:29:EE:99:39:E4:3D:83:57:1E:48:0D:C6:45:20:58:16:95:88:5E:70:D1:37:E3:30:B4
>> Info: Caching certificate for 7j4755-mysql
>> Error: Could not request certificate: SSL_connect returned=1 errno=0
>> state=SSLv3 read server certificate B: certificate verify failed: [self
>> signed certificate in certificate chain for /CN=Puppet CA generated on
>> puppet.appfactory.private.wso2.com]
>>
>> Thanks & Regards,
>> S.A.Rajeevan
>> Software Engineer WSO2 Inc
>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Pubudu Gunatilaka*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 77 4078049
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to