Hi Isuru,

Make sure you have the correct hostname in puppet master. This can be
verified by using the hostname command.

Thank you!

On Mon, Jan 8, 2018 at 5:34 PM, Samitha Chathuranga <[email protected]>
wrote:

> Hi Isuru,
>
> Hope you have correctly followed these steps to clean certs and try back.
>
> Enter the following commands with root permissions,
> 1) on agent>>
>
>    - rm -rf /var/lib/puppet/ssl/
>
> 2) on master>>
>
>    - puppet cert clean --all
>    - service puppetmaster restart
>
> Then try to run agent again.
>
> And if that is not working please check  /etc/puppet/puppet.conf file of
> Puppet Agent.
>
> Is it correctly configured as belows as in [1].
>
> [main]
> server = puppet
>
> And please check also the dns_alt_names configs in puppet master too.  And is 
> the hostname config  in etc/hostname file in puppet master correct as guided 
> in [1]
>
>
> [1] -  step 2.2.2 in  
> https://github.com/wso2/puppet-base/wiki/Use-WSO2-Puppet-Modules-in-puppet-master-agent-Environment
>
> Regards,
>
> Samitha
>
>
> On Mon, Jan 8, 2018 at 4:55 PM, Isuru Uyanage <[email protected]> wrote:
>
>> Hi Samitha,
>>
>> I tried followed doc[1] in order to create the APIM2xx cluster.
>> Puppetmaster was already configured. Once I tried to configure puppet
>> agent/analytics, at step 7(4), I get the following error.
>>
>> *Warning: Setting templatedir is deprecated.
>> See http://links.puppetlabs.com/env-settings-deprecations
>> <http://links.puppetlabs.com/env-settings-deprecations>*
>>
>> *   (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in
>> `issue_deprecation_warning')*
>>
>> Info: Creating a new SSL key for analytics.openstacklocal
>>
>> Info: csr_attributes file loading from /etc/puppet/csr_attributes.yaml
>>
>> Info: Creating a new SSL certificate request for analytics.openstacklocal
>>
>> Info: Certificate Request fingerprint (SHA256):
>> 8B:F8:0D:18:8D:FC:A6:BB:C0:F4:5F:1B:39:75:4E:7D:F9:BD:39:C5:
>> D0:99:80:C6:AF:BC:40:F2:E5:24:5A:48
>>
>> Info: Caching certificate for analytics.openstacklocal
>>
>> *Error: Could not request certificate: SSL_connect returned=1 errno=0
>> state=SSLv3 read server certificate B: certificate verify failed:
>> [certificate revoked for /CN=puppetmaster.openstacklocal]*
>>
>> Exiting; failed to retrieve certificate and waitforcert is disabled
>>
>>
>>
>> I tried cleaning all certificates of puppet master and restarted it. In
>> puppet agent, did the same and still, I'm getting this error.
>>
>>
>> Any thoughts about this?
>>
>>
>>
>> [1] - https://docs.wso2.com/display/AM2xx/Using+Puppet+Modules+t
>> o+Set+up+WSO2+API-M+with+Pattern+6#f35a9087b2ac4a468b885bbe5aaa1a34
>>
>> *Thanks and Best Regards,*
>>
>> *Isuru Uyanage*
>> *Software Engineer - QA | WSO2*
>> *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752*
>> *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/
>> <https://www.linkedin.com/in/isuru-uyanage/>*
>>
>>
>>
>>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Senior Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to