Hi using the API we didn't find a way.  We added to our delete host 
playbook a task to connect to the Foreman an delete the cert by cli.

On Friday, November 11, 2016 at 5:19:15 PM UTC+1, marco giovannini wrote:
>
>
> Does anyone have any idea about what might be wrong ?
>
> [root@foreman~]# curl -X GET -u admin:XXXXXXXXXXXXXXXX -H  
> "Accept:pplication/json" -k https://localhost:9090/version
> {"version":"1.13.0","modules":{"pulp":"1.3.0","puppetca":"1.13.0","puppet":"1.13.0","logs":"1.13.0"}}[root@foreman
>  
> ~]#
>
> [root@foreman ~]# curl -X GET -u admin:XXXXXXXXXXXXXX -H  
> "Accept:pplication/json" -k https://localhost:9090/features
> ["logs","pulp","puppet","puppetca"][root@foreman~]#
>
> [root@foreman ~]# curl -X GET -u admin:XXXXXXXXXXXXX -H  
> "Accept:pplication/json" -k https://localhost:9090/puppet/ca/
> could not read client cert from environment[root@foreman ~]#
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to