summaryrefslogtreecommitdiff
path: root/distro/common/html/_sources/knife_ssl_check.txt
blob: 76ce4c6cfd2e6d84b9c5b29ef1ef28098a11072f (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 check
=====================================================

.. include:: ../../includes_knife/includes_knife_ssl_check.rst

**Syntax**

.. include:: ../../includes_knife/includes_knife_ssl_check_syntax.rst

**Options**

.. include:: ../../includes_knife_manpage_options/includes_knife_ssl_check_options.rst

**Examples**

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

**Verify the SSL configuration for the Chef server**

.. code-block:: bash

   $ knife ssl check

**Verify the SSL configuration for the chef-client**

.. code-block:: bash

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

**Verify an external server's SSL certificate**

.. code-block:: bash

   $ knife ssl check URL_or_URI

for example:

.. code-block:: bash

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