Hi there

I was indeed also wondering that its not more possible but it is. after 
some ours of work I got it worked .
As @stephen mentioned users of foreman is not usable in foreman-proxy.

here is command which hase worked for me .

 curl -k -X DELETE  -H  "Accept:pplication/json" 
https://mydomain.com:8443/puppet/ca/hostname.mydomain.com   --tlsv1   
--cacert /etc/puppetlabs/puppetdb/ssl/ca.pem   --cert 
/etc/puppetlabs/puppetdb/ssl/public.pem   --key 
/etc/puppetlabs/puppetdb/ssl/private.pem

so looking forward to add here OAuth token to identify . If someone has 
done it before please post it here.

Greetings
Karen

On Friday, 11 November 2016 17:19:15 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