Jira (PUP-11522) Allow Puppet::HTTP::Client to connect to a server requiring client cert authentication and whose server cert is issued by a CA in the 'ssl_trust_store'
13 views
Skip to first unread message
Josh Cooper (Jira)
unread,
Apr 28, 2022, 7:15:02 PM4/28/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Allow Puppet::HTTP::Client to connect to a server the puppet certificate for requiring client cert authentication and whose server cert is issued by a CA in the 'ssl_trust_store'
create_context and load_context methods should behave like create_system_context wrt the include_system_store parameter and ssl_trust_store config path setting
When using the http client in puppet it should be possible to connect to a https server that requires client certs and whose server cert is issued by a third party CA
.Eg. should be possible to call " post(url, options: { include_system_store: true})" and connect to server described above
When using the http client in puppet it should be possible to connect to a https server that requires client certs and whose server cert is issued by a third party CA. Eg. should be possible to call "post(url, options: \ {include_system_store: true})" and connect to server described above
Puppet's http client can now establish a mutually authenticated TLS connection when passing "include_system_store: true" such as when retrieving file content from HTTPS servers. Previously puppet did not add its client certificate to the SSL context, so the connection would fail if the HTTPS server *required* a client certificate.