corosync-qdevice-net-certutil.8 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. .\"/*
  2. .\" * Copyright (C) 2016-2026 Red Hat, Inc.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Jan Friesse <jfriesse@redhat.com>
  7. .\" *
  8. .\" * This software licensed under BSD license, the text of which follows:
  9. .\" *
  10. .\" * Redistribution and use in source and binary forms, with or without
  11. .\" * modification, are permitted provided that the following conditions are met:
  12. .\" *
  13. .\" * - Redistributions of source code must retain the above copyright notice,
  14. .\" * this list of conditions and the following disclaimer.
  15. .\" * - Redistributions in binary form must reproduce the above copyright notice,
  16. .\" * this list of conditions and the following disclaimer in the documentation
  17. .\" * and/or other materials provided with the distribution.
  18. .\" * - Neither the name of Red Hat, Inc. nor the names of its
  19. .\" * contributors may be used to endorse or promote products derived from this
  20. .\" * software without specific prior written permission.
  21. .\" *
  22. .\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  23. .\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  24. .\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  25. .\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  26. .\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  27. .\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  28. .\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  29. .\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  30. .\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  31. .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  32. .\" * THE POSSIBILITY OF SUCH DAMAGE.
  33. .\" */
  34. .TH COROSYNC-QDEVICE-NET-CERTUTIL 8 2026-08-13
  35. .SH NAME
  36. corosync-qdevice-net-certutil - tool to generate qdevice model net TLS certificates
  37. .SH SYNOPSIS
  38. .B "corosync-qdevice-net-certutil [-i|-M|-m|-Q|-r] [-C scp_command] [-c certificate] [-g keysize] [-k keytype] [-n cluster_name] [-S ssh_command] [-q paramset]"
  39. .SH DESCRIPTION
  40. .B corosync-qdevice-net-certutil
  41. is a frontend for NSS certutil used for generating client certificate for the net model of
  42. qdevice.
  43. .SH OPTIONS
  44. .TP
  45. .B -i
  46. Initialize the QDevice Net NSS certificate database.
  47. The default directory for the database is /etc/corosync/qdevice/net/. This directory
  48. has to be writable by the current user. It needs the QNetd CA certificate passed as the
  49. .B -c
  50. parameter. This certificate can be found on the server running QNetd in the file
  51. /etc/corosync/qnetd/nssdb/qnetd-cacert.crt.
  52. .TP
  53. .B -M
  54. Import a signed certificate and export a certificate with private key into
  55. pk12 file.
  56. .TP
  57. .B -m
  58. Import the cluster certificate and key from a pk12 file.
  59. .TP
  60. .B -Q
  61. Use ssh/scp to properly set both
  62. .B corosync-qnetd
  63. and
  64. .B corosync-qdevice
  65. certificates on all nodes. It's highly recommended that you use an ssh agent,
  66. or ssh/scp will keep asking for a password - roughly 8 times the number of nodes.
  67. .TP
  68. .B -r
  69. Generate a certificate request. The certificate request is exported into
  70. /etc/corosync/qdevice/net/qdevice-net-node.crq. It is necessary to
  71. pass the cluster name using the
  72. .B -n
  73. parameter. The cluster name has to match the one defined in /etc/corosync/corosync.conf.
  74. .TP
  75. .B -C
  76. Alternative remote copy command to be use in place of scp. If not specified, scp is used.
  77. .TP
  78. .B -c
  79. File with certificate to load.
  80. .TP
  81. .B -g
  82. Specify the key size to use when generating new public and private key pairs.
  83. This option is passed directly to the
  84. .B certutil
  85. command. By default, this is left empty, meaning
  86. .B -g
  87. is not passed to
  88. .B certutil
  89. at all.
  90. .TP
  91. .B -k
  92. Specify the key type to use when generating new public and private key pairs.
  93. This option is passed directly to the
  94. .B certutil
  95. command. By default, this is left empty, meaning
  96. .B -k
  97. is not passed to
  98. .B certutil
  99. at all.
  100. .TP
  101. .B -n
  102. Name of the cluster.
  103. .TP
  104. .B -S
  105. Alternative remote shell command to be use in place of ssh. If not specified, ssh is used.
  106. .TP
  107. .B -q
  108. Specify the curve-name or ml-dsa-parameter-set to use when generating new public
  109. and private key pairs. This option is passed directly to the
  110. .B certutil
  111. command. By default, this is left empty, meaning
  112. .B -q
  113. is not passed to
  114. .B certutil
  115. at all.
  116. .SH SEE ALSO
  117. .BR corosync-qnetd (8)
  118. .BR corosync-qdevice (8)
  119. .BR certutil(1)
  120. .SH AUTHOR
  121. Jan Friesse
  122. .PP