summaryrefslogtreecommitdiff
path: root/distro/common/html/_sources/knife_ssl_fetch.txt
blob: 9c3b5328e56ee994dccbfe9a71f211422491c3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
=====================================================
knife ssl fetch
=====================================================

.. include:: ../../includes_knife/includes_knife_ssl_fetch.rst

**Syntax**

.. include:: ../../includes_knife/includes_knife_ssl_fetch_syntax.rst

**Options**

.. include:: ../../includes_knife_manpage_options/includes_knife_ssl_fetch_options.rst

**Examples**

The following examples show how to use this |knife| subcommand:

**Fetch the SSL certificates used by Knife from the Chef server**

.. code-block:: bash

   $ knife ssl fetch

**Fetch the SSL certificates used by the chef-client from the Chef server**

.. code-block:: bash

   $ knife ssl fetch -c /etc/chef/client.rb

**Fetch SSL certificates from a URL or URI**

.. code-block:: bash

   $ knife ssl fetch URL_or_URI

for example:

.. code-block:: bash

   $ knife ssl fetch https://www.getchef.com