File: condor_ssl_fingerprint.rst

package info (click to toggle)
condor 23.9.6%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 60,012 kB
  • sloc: cpp: 528,272; perl: 87,066; python: 42,650; ansic: 29,558; sh: 11,271; javascript: 3,479; ada: 2,319; java: 619; makefile: 615; xml: 613; awk: 268; yacc: 78; fortran: 54; csh: 24
file content (51 lines) | stat: -rw-r--r-- 1,723 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
*condor_ssl_fingerprint*
========================

list the fingerprint of X.509 certificates for use with SSL authentication
:index:`condor_ssl_fingerprint<single: condor_ssl_fingerprint; HTCondor commands>`\ :index:`condor_ssl_fingerprint command`

Synopsis
--------

**condor_ssl_fingerprint** *[FILE]*

Description
-----------

*condor_ssl_fingerprint* parses provided file for X.509 certificcates and prints
prints them to ``stdout``.  If no file is provided, then it defaults to printing
out the user's ``known_hosts`` file (typically, in ``~/.condor/known_hosts``).

If a single PEM-formatted X.509 certificate is found, then its fingerprint is printed.

The X.509 fingerprints can be used to verify the authenticity of an SSL authentication
with a remote daemon.

Examples
--------

To print the fingerprint of a host certificate

.. code-block:: console

    $ condor_token_list
    Header: {"alg":"HS256","kid":"POOL"} Payload: {"exp":1565576872,"iat":1565543872,"iss":"htcondor.cs.wisc.edu","scope":"condor:\/DAEMON","sub":"k8sworker@wisc.edu"} File: /home/bucky/.condor/tokens.d/token1
    Header: {"alg":"HS256","kid":"POOL"} Payload: {"iat":1572414350,"iss":"htcondor.cs.wisc.edu","scope":"condor:\/WRITE","sub":"bucky@wisc.edu"} File: /home/bucky/.condor/tokens.d/token2

Exit Status
-----------

*condor_token_list* will exit with a non-zero status value if it
fails to read the token directory, tokens are improperly formatted,
or if it experiences some other error.  Otherwise, it will exit 0.


See also
--------

:manpage:`condor_token_create(1)`, :manpage:`condor_token_fetch(1)`, :manpage:`condor_token_request(1)`

Author
------

Center for High Throughput Computing, University of Wisconsin-Madison