The Foreman asks for certificate

Foreman asks for certificate when I try to log on via web interface
I suspect it happens because of the option
SSLVerifyClient optional
in
/etc/httpd/conf.d/05-foreman-ssl.conf

but when i set it to none

puppetserver cannot pass data to foreman saying
Execution of '/etc/puppetlabs/puppet/node.rb ’ returned 1:

Is there any way to fix it?
Foreman 2.3.5