jdk/src/linux/doc/man/ja/keytool.1
author aph
Thu, 17 Mar 2016 17:03:20 +0000
changeset 36799 982e1880e05e
parent 31876 91b22707521a
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     1
'\" t
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
     2
.\" Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     4
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     7
.\" published by the Free Software Foundation.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     8
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    13
.\" accompanied this code).
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    14
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    18
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    19
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    20
.\" or visit www.oracle.com if you need additional information or have any
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    21
.\" questions.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    22
.\"
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    23
.\" Title: keytool
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    24
.\" Language: Japanese
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    25
.\" Date: 2015年3月3日
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    26
.\" SectDesc: セキュリティ・ツール
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    27
.\" Software: JDK 8
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    28
.\" Arch: 汎用
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    29
.\" Part Number: E58103-01
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    30
.\" Doc ID: JSSON
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    31
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    32
.if n .pl 99999
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    33
.TH "keytool" "1" "2015年3月3日" "JDK 8" "セキュリティ・ツール"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    34
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    35
.\" * Define some portability stuff
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    36
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    37
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    38
.\" http://bugs.debian.org/507673
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    39
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    40
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    41
.ie \n(.g .ds Aq \(aq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    42
.el       .ds Aq '
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    43
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    44
.\" * set default formatting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    45
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    46
.\" disable hyphenation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    47
.nh
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    48
.\" disable justification (adjust text to left margin only)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    49
.ad l
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    50
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    51
.\" * MAIN CONTENT STARTS HERE *
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    52
.\" -----------------------------------------------------------------
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    53
.SH "名前"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    54
keytool \- 暗号化鍵、X\&.509証明書チェーンおよび信頼できる証明書を含むキーストア(データベース)を管理します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    55
.SH "概要"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    56
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    57
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    58
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    59
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
    60
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    61
\fBkeytool\fR [\fIcommands\fR]
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    62
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    63
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    64
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    65
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    66
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    67
\fIcommands\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    68
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    69
コマンドを参照してください。これらのコマンドは、次のようにタスク別に分類されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    70
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    71
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    72
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    73
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    74
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    75
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    76
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    77
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    78
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    79
キーストアへのデータの作成または追加
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    80
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    81
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    82
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    83
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    84
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    85
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    86
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    87
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    88
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    89
\-gencert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    90
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    91
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    92
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    93
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    94
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    95
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    96
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    97
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    98
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
    99
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   100
\-genkeypair
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   101
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   102
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   103
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   104
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   105
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   106
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   107
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   108
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   109
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   110
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   111
\-genseckey
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   112
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   113
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   114
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   115
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   116
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   117
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   118
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   119
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   120
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   121
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   122
\-importcert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   123
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   124
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   125
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   126
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   127
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   128
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   129
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   130
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   131
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   132
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   133
\-importpassword
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   134
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   135
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   136
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   137
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   138
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   139
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   140
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   141
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   142
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   143
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   144
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   145
別のキーストアの内容のインポート
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   146
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   147
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   148
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   149
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   150
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   151
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   152
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   153
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   154
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   155
\-importkeystore
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   156
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   157
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   158
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   159
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   160
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   161
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   162
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   163
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   164
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   165
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   166
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   167
証明書リクエストの生成
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   168
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   169
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   170
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   171
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   172
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   173
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   174
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   175
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   176
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   177
\-certreq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   178
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   179
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   180
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   181
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   182
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   183
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   184
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   185
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   186
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   187
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   188
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   189
データのエクスポート
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   190
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   191
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   192
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   193
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   194
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   195
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   196
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   197
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   198
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   199
\-exportcert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   200
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   201
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   202
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   203
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   204
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   205
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   206
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   207
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   208
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   209
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   210
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   211
データの表示
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   212
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   213
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   214
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   215
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   216
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   217
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   218
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   219
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   220
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   221
\-list
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   222
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   223
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   224
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   225
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   226
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   227
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   228
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   229
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   230
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   231
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   232
\-printcert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   233
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   234
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   235
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   236
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   237
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   238
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   239
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   240
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   241
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   242
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   243
\-printcertreq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   244
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   245
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   246
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   247
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   248
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   249
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   250
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   251
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   252
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   253
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   254
\-printcrl
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   255
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   256
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   257
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   258
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   259
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   260
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   261
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   262
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   263
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   264
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   265
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   266
キーストアの管理
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   267
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   268
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   269
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   270
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   271
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   272
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   273
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   274
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   275
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   276
\-storepasswd
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   277
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   278
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   279
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   280
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   281
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   282
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   283
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   284
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   285
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   286
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   287
\-keypasswd
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   288
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   289
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   290
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   291
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   292
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   293
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   294
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   295
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   296
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   297
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   298
\-delete
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   299
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   300
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   301
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   302
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   303
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   304
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   305
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   306
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   307
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   308
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   309
\-changealias
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   310
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   311
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   312
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   313
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   314
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   315
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   316
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   317
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   318
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   319
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   320
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   321
ヘルプの表示
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   322
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   323
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   324
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   325
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   326
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   327
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   328
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   329
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   330
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   331
\-help
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   332
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   333
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   334
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   335
.SH "説明"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   336
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   337
\fBkeytool\fRコマンドは、鍵と証明書を管理するためのユーティリティです。これにより、ユーザーは自分の公開鍵と秘密鍵のペアおよび関連する証明書を管理し、デジタル署名を使用した自己認証(他のユーザーまたはサービスに対して自分自身を認証すること)や、データの整合性と証明書に関するサービスを利用することができます。\fBkeytool\fRコマンドでは、通信しているピアの公開鍵をキャッシュすることもできます(証明書のフォームで)。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   338
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   339
証明書とは、あるエンティティ(人物、会社など)からのデジタル署名付きの文書のことです。証明書には、他のあるエンティティの公開鍵(およびその他の情報)が特別な値を持っていることが書かれています。(証明書を参照してください。)データにデジタル署名が付いている場合は、デジタル署名を検証することで、データの整合性およびデータが本物であることをチェックできます。データの整合性とは、データが変更されたり、改変されたりしていないことを意味します。また、データが本物であるとは、そのデータが、データを作成して署名したと称する人物から渡されたデータであることを意味します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   340
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   341
また、\fBkeytool\fRコマンドを使用すれば、対称暗号化/復号化(DES)で使用される秘密鍵およびパスフレーズを管理することもできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   342
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   343
\fBkeytool\fRコマンドは、鍵と証明書をキーストアに格納します。キーストアの別名を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   344
.SH "コマンドとオプションに関する注意"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   345
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   346
様々なコマンドとその説明については、コマンドを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   347
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   348
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   349
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   350
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   351
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   352
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   353
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   354
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   355
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   356
どのコマンド名およびオプション名にも先頭にマイナス記号(\-)が付きます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   357
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   358
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   359
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   360
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   361
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   362
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   363
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   364
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   365
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   366
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   367
各コマンドのオプションは任意の順序で指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   368
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   369
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   370
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   371
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   372
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   373
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   374
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   375
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   376
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   377
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   378
イタリックになっていないすべての項目、または中カッコか角カッコで囲まれているすべての項目は、そのとおりに指定する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   379
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   380
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   381
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   382
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   383
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   384
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   385
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   386
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   387
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   388
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   389
オプションを囲む中カッコは、そのオプションをコマンド行で指定しなかった場合に、デフォルト値が使用されることを意味します。オプションのデフォルト値を参照してください。中カッコは、\fB\-v\fR、\fB\-rfc\fRおよび\fB\-J\fRオプションを囲むためにも使用されますが、これらのオプションはコマンド行で指定された場合にのみ意味を持ちます。指定されていない場合以外、デフォルト値はありません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   390
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   391
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   392
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   393
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   394
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   395
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   396
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   397
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   398
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   399
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   400
オプションを囲む角カッコは、そのオプションをコマンド行で指定しなかった場合に、値の入力を求められることを意味します。\fB\-keypass\fRオプションの場合、オプションをコマンド行で指定しなかった場合は、\fBkeytool\fRコマンドがまずキーストアのパスワードを使用して非公開/秘密鍵の復元を試みます。この試みが失敗した場合、\fBkeytool\fRコマンドにより、非公開/秘密鍵のパスワードの入力を求められます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   401
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   402
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   403
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   404
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   405
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   406
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   407
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   408
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   409
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   410
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   411
イタリックの項目の実際の値(オプションの値)は、指定する必要があります。たとえば、\fB\-printcert\fRコマンドの形式は次のとおりです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   412
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   413
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   414
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   415
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   416
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   417
\fBkeytool \-printcert {\-file \fR\fB\fIcert_file\fR\fR\fB} {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   418
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   419
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   420
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   421
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   422
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   423
\fB\-printcert\fRコマンドを指定する場合は、\fIcert_file\fRを実際のファイル名で置き換えます。例:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   424
\fBkeytool \-printcert \-file VScert\&.cer\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   425
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   426
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   427
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   428
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   429
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   430
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   431
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   432
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   433
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   434
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   435
オプションの値に空白(スペース)が含まれている場合は、値を引用符で囲む必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   436
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   437
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   438
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   439
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   440
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   441
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   442
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   443
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   444
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   445
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   446
\fB\-help\fRオプションがデフォルトです。\fBkeytool\fRコマンドは、\fBkeytool \-help\fRと同じです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   447
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   448
.SH "オプションのデフォルト値"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   449
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   450
次の例で、様々なオプション値のデフォルト値を示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   451
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   452
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   453
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   454
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   455
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   456
\fB\-alias "mykey"\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   457
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   458
\fB\-keyalg\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   459
\fB    "DSA" (when using \-genkeypair)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   460
\fB    "DES" (when using \-genseckey)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   461
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   462
\fB\-keysize\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   463
\fB    2048 (when using \-genkeypair and \-keyalg is "RSA")\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   464
\fB    1024 (when using \-genkeypair and \-keyalg is "DSA")\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   465
\fB    256 (when using \-genkeypair and \-keyalg is "EC")\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   466
\fB    56 (when using \-genseckey and \-keyalg is "DES")\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   467
\fB    168 (when using \-genseckey and \-keyalg is "DESede")\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   468
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   469
\fB\-validity 90\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   470
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   471
\fB\-keystore <the file named \&.keystore in the user\*(Aqs home directory>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   472
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   473
\fB\-storetype <the value of the "keystore\&.type" property in the\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   474
\fB    security properties file, which is returned by the static\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   475
\fB    getDefaultType method in java\&.security\&.KeyStore>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   476
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   477
\fB\-file\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   478
\fB    stdin (if reading)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   479
\fB    stdout (if writing)\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   480
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   481
\fB\-protected false\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   482
 
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   483
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   484
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   485
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   486
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   487
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   488
公開/秘密鍵ペアの生成において、署名アルゴリズム(\fB\-sigalg\fRオプション)は、基になる秘密鍵のアルゴリズムから派生します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   489
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   490
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   491
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   492
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   493
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   494
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   495
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   496
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   497
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   498
基になる秘密鍵がDSAタイプである場合は、\fB\-sigalg\fRオプションのデフォルト値はSHA1withDSAになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   499
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   500
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   501
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   502
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   503
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   504
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   505
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   506
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   507
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   508
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   509
基になる秘密鍵がRSAタイプである場合は、\fB\-sigalg\fRオプションのデフォルト値はSHA256withRSAになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   510
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   511
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   512
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   513
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   514
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   515
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   516
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   517
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   518
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   519
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   520
基になる秘密鍵がECタイプである場合は、\fB\-sigalg\fRオプションのデフォルト値はSHA256withECDSAになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   521
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   522
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   523
\fB\-keyalg\fRおよび\fB\-sigalg\fR引数の完全なリストについては、
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   524
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec\&.html#AppAの「Java Cryptography Architecture (JCA) Reference Guide」を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   525
.SH "一般オプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   526
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   527
\fB\-v\fRオプションは、\fB\-help\fRコマンドを除くすべてのコマンドで使用できます。\fB\-v\fRオプションを指定した場合、コマンドは冗長モードで実行され、詳細な情報が出力されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   528
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   529
任意のコマンドで指定できる\fB\-Jjavaoption\fR引数もあります。\fB\-Jjavaoption\fRを指定した場合、指定された\fBjavaoption\fR文字列がJavaインタプリタに直接渡されます。このオプションには、空白を含めることはできません。このオプションは、実行環境またはメモリー使用を調整する場合に便利です。指定できるインタプリタ・オプションを一覧表示するには、コマンド行で\fBjava \-h\fRまたは\fBjava \-X\fRと入力してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   530
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   531
次のオプションは、キーストアに対する操作を行うすべてのコマンドで指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   532
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   533
\-storetype \fIstoretype\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   534
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   535
この修飾子は、インスタンスを生成するキーストアのタイプを指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   536
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   537
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   538
\-keystore \fIkeystore\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   539
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   540
キーストアの場所を指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   541
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   542
特定の\fBkeytool\fRコマンドを実行する際に、JKS
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   543
\fBstoretype\fRが使用され、かつキーストア・ファイルがまだ存在していなかった場合、新しいキーストア・ファイルが作成されます。たとえば、\fBkeytool \-genkeypair\fRの呼出し時に\fB\-keystore\fRオプションが指定されなかった場合、\fB\&.keystore\fRという名前のデフォルト・キーストア・ファイルがユーザーのホーム・ディレクトリ内にまだ存在していなければ、そこに作成されます。同様に、\fB\-keystore ks_file\fRというオプションが指定されてもそのks_fileが存在しなかった場合、そのファイルが作成されます。JKS
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   544
\fBstoretype\fRの詳細は、\fIの\fRKeyStoreの実装キーストアの別名に関する項を参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   545
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   546
\fB\-keystore\fRオプションからの入力ストリームは、\fBKeyStore\&.load\fRメソッドに渡されます。URLとして\fBNONE\fRが指定されている場合は、nullのストリームが\fBKeyStore\&.load\fRメソッドに渡されます。\fBNONE\fRは、KeyStoreがファイルベースではない場合に指定してください。たとえば、ハードウェア・トークン・デバイス上に存在している場合などです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   547
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   548
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   549
\-storepass[:\fIenv\fR| :\fIfile\fR] argument
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   550
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   551
キーストアの整合性を保護するために使用するパスワードを指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   552
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   553
修飾子\fBenv\fRまたは\fBfile\fRを指定しない場合、パスワードの値は\fBargument\fRになります。この値は、6文字以上にする必要があります。それ以外の場合、パスワードは次のようにして取得されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   554
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   555
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   556
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   557
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   558
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   559
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   560
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   561
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   562
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   563
\fBenv\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   564
\fBargument\fRという名前の環境変数からパスワードを取得します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   565
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   566
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   567
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   568
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   569
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   570
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   571
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   572
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   573
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   574
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   575
\fBfile\fR: argumentという名前のファイルからパスワードを取得します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   576
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   577
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   578
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   579
\fB\-keypass\fR、\fB\-srckeypass\fR、\-\fBdestkeypass\fR、\fB\-srcstorepass\fR、\fB\-deststorepass\fRなどのパスワードを必要とするその他のオプションはすべて、\fIenv\fRおよび\fIfile\fR修飾子を受け付けます。パスワード・オプションと修飾子は、必ずコロン(:)で区切ってください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   580
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   581
パスワードは、キーストアの内容にアクセスするすべてのコマンドで使用されます。この種のコマンドを実行するときに、コマンド行で\fB\-storepass\fRオプションを指定しなかった場合は、パスワードの入力を求められます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   582
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   583
キーストアから情報を取得する場合、パスワードは省略可能です。パスワードが指定されていない場合は、取得した情報の整合性を検証できず、警告が表示されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   584
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   585
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   586
\-providerName \fIprovider_name\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   587
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   588
セキュリティ・プロパティ・ファイル内に含まれる暗号化サービス・プロバイダ名を特定するために使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   589
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   590
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   591
\-providerClass \fIprovider_class_name\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   592
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   593
暗号化サービス・プロバイダがセキュリティ・プロパティ・ファイルに指定されていないときは、そのマスター・クラス・ファイルの名前を指定するときに使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   594
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   595
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   596
\-providerArg \fIprovider_arg\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   597
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   598
\fB\-providerClass\fRオプションとともに使用され、\fBprovider_class_name\fRのコンストラクタのオプションの文字列入力引数を表します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   599
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   600
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   601
\-protected
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   602
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   603
\fBtrue\fRまたは\fBfalse\fRのいずれか。パスワードを専用PINリーダーなどの保護された認証パス経由で指定する必要がある場合は、この値を\fBtrue\fRに指定する必要があります。\fB\-importkeystore\fRコマンドには2つのキーストアが関連しているため、ソース・キーストアと宛先キーストアにそれぞれ次の2つのオプション、\fB\-srcprotected\fRと\-\fBdestprotected\fRが用意されています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   604
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   605
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   606
\-ext \fI{name{:critical} {=value}}\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   607
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   608
X\&.509証明書エクステンションを示します。このオプションを\fB\-genkeypair\fRおよび\fB\-gencert\fRで使用して、生成される証明書または\fB\-certreq\fRにエクステンションを埋め込み、証明書リクエストでリクエストされるエクステンションを示すことができます。このオプションは複数回指定できます。\fBname\fR引数には、サポートされているエクステンション名(名前付きエクステンションを参照)または任意のOID番号を指定できます。指定されている場合、\fBvalue\fR引数はエクステンションの引数を指します。\fIvalue\fRを省略した場合、エクステンションのデフォルト値またはエクステンションが引数を必要としないことを示します。\fB:critical\fR修飾子が指定された場合、エクステンションの\fBisCritical\fR属性は\fBtrue\fRで、指定されない場合は\fBfalse\fRです。\fB:critical\fRのかわりに\fB:c\fRを使用できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   609
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   610
.SH "名前付きエクステンション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   611
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   612
\fBkeytool\fRコマンドは、次の名前のエクステンションをサポートしています。名前の大/小文字は区別されません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   613
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   614
BCまたはBasicContraints
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   615
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   616
\fB値\fR: 完全な形式は、\fBca:{true|false}[,pathlen:<len>]\fRまたは\fB<len>\fR(\fBca:true,pathlen:<len>\fRの短縮形)です。<\fBlen\fR>を省略すると、\fBca:true\fRの意味になります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   617
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   618
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   619
KUまたはKeyUsage
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   620
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   621
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   622
\fBusage\fR(\fBusage\fR)*、\fIusage\fRには\fBdigitalSignature\fR、\fBnonRepudiation\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   623
(contentCommitment)、\fBkeyEncipherment\fR、\fBdataEncipherment\fR、\fBkeyAgreement\fR、\fBkeyCertSign\fR、\fBcRLSign\fR、\fBencipherOnly\fR、\fBdecipherOnly\fRのいずれかを指定できます。\fIusage\fR引数は、不明確にならないかぎり、最初の数文字(\fBdigitalSignature\fRの場合は\fBdig\fR)またはキャメルケース・スタイル(\fBdigitalSignature\fRの場合は\fBdS\fR、\fBcRLSign\fRの場合は\fBcRLS\fR)で省略表記できます。\fBusage\fR値は、大文字と小文字が区別されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   624
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   625
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   626
EKUまたはExtendedKeyUsage
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   627
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   628
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   629
\fBusage\fR(\fBusage\fR)*、\fIusage\fRには\fBanyExtendedKeyUsage\fR、\fBserverAuth\fR、\fBclientAuth\fR、\fBcodeSigning\fR、\fBemailProtection\fR、\fBtimeStamping\fR、\fBOCSPSigning\fRまたは任意の\fIOID文字列\fRのいずれかを指定できます。\fIusage\fR引数は、不明確にならないかぎり、最初の数文字またはキャメルケース・スタイルで省略表記できます。\fBusage\fR値は、大文字と小文字が区別されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   630
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   631
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   632
SANまたはSubjectAlternativeName
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   633
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   634
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   635
\fBtype\fR:\fBvalue\fR(t\fBype:value\fR)*、\fBtype\fRには\fBEMAIL\fR、\fBURI\fR、\fBDNS\fR、\fBIP\fRまたは\fBOID\fRを指定できます。\fBvalue\fR引数は、\fBtype\fRの文字列形式の値です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   636
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   637
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   638
IANまたはIssuerAlternativeName
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   639
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   640
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   641
\fBSubjectAlternativeName\fRと同じです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   642
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   643
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   644
SIAまたはSubjectInfoAccess
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   645
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   646
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   647
\fBmethod\fR:\fBlocation\-type\fR:\fBlocation\-value\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   648
(\fBmethod:location\-type\fR:\fBlocation\-value\fR)*、\fBmethod\fRには\fBtimeStamping\fR、\fBcaRepository\fRまたは任意のOIDを指定できます。\fBlocation\-type\fRおよび\fBlocation\-value\fR引数には、\fBSubjectAlternativeName\fRエクステンションでサポートされる任意の\fBtype\fR:\fBvalue\fRを指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   649
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   650
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   651
AIAまたはAuthorityInfoAccess
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   652
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   653
\fB値\fR:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   654
\fBSubjectInfoAccess\fRと同じです。\fBmethod\fR引数には、\fBocsp\fR、\fBcaIssuers\fRまたは任意のOIDを指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   655
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   656
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   657
\fBname\fRがOIDの場合、OCTET STRINGタイプと長さのバイトを除外したエクステンションについては、値は\fBextnValue\fRの16進ダンプのDERエンコーディングです。HEX文字列では、標準の16進数(0\-9、a\-f、A\-F)以外の文字は無視されます。したがって、01:02:03:04と01020304の両方とも同一の値として受け付けられます。値がない場合、エクステンションの値フィールドは空になります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   658
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   659
\fB\-gencert\fRでのみ使用する\fBhonored\fRという特別な名前は、証明書リクエストに含まれるエクステンションを優先する方法を示します。この名前の値は、\fBall\fR(リクエストされるすべてのエクステンションが優先される)、\fBname{:[critical|non\-critical]}\fR(名前付きのエクステンションが優先されるが、別の\fBisCritical\fR属性を使用する)、および\fB\-name\fR(\fBall\fRとともに使用し、例外を示す)のカンマ区切りリストです。デフォルトでは、リクエストされるエクステンションは優先されません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   660
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   661
\fB\-ext honored\fRオプションに加え、別の名前の、またはOID
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   662
\fB\-ext\fRのオプションを指定した場合は、このエクステンションが、すでに優先されているエクステンションに追加されます。ただし、この名前(またはOID)を優先される値でも使用した場合は、その値と重要性がリクエストに含まれるものをオーバーライドします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   663
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   664
\fBsubjectKeyIdentifier\fRエクステンションは常に作成されます。自己署名でない証明書の場合は、\fBauthorityKeyIdentifier\fRが作成されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   665
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   666
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   667
ユーザーは、エクステンション(および証明書の他のフィールド)の組合せによっては、インターネットの標準に準拠しない場合があることに注意してください。証明書の準拠に関する警告を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   668
.SH "コマンド"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   669
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   670
\-gencert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   671
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   672
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   673
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   674
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   675
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   676
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   677
\fB{\-rfc} {\-infile \fR\fB\fIinfile\fR\fR\fB} {\-outfile \fR\fB\fIoutfile\fR\fR\fB} {\-alias \fR\fB\fIalias\fR\fR\fB} {\-sigalg \fR\fB\fIsigalg\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   678
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   679
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   680
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   681
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   682
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   683
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   684
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   685
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   686
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   687
\fB{\-dname \fR\fB\fIdname\fR\fR\fB} {\-startdate \fR\fB\fIstartdate\fR\fR\fB {\-ext \fR\fB\fIext\fR\fR\fB}* {\-validity \fR\fB\fIvalDays\fR\fR\fB}\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   688
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   689
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   690
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   691
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   692
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   693
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   694
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   695
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   696
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   697
\fB[\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   698
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   699
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   700
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   701
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   702
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   703
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   704
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   705
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   706
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   707
\fB{\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-providername \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   708
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   709
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   710
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   711
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   712
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   713
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   714
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   715
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   716
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   717
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   718
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   719
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   720
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   721
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   722
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   723
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   724
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   725
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   726
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   727
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   728
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   729
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   730
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   731
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   732
証明書リクエスト・ファイル(\fBkeytool\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   733
\fB\-certreq\fRコマンドで作成可能)に対するレスポンスとして証明書を生成します。このコマンドは、\fIinfile\fRから(省略した場合は、標準入力から)リクエストを読み込み、別名の秘密鍵を使用してそのリクエストに署名して、X\&.509証明書を\fIoutfile\fRに(省略した場合は、標準出力に)出力します。\fB\-rfc\fRを指定した場合、出力形式はBASE64符号化のPEMになります。それ以外の場合は、バイナリDERが作成されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   734
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   735
\fBsigalg\fR値には、証明書に署名を付けるときに使用するアルゴリズムを指定します。\fBstartdate\fR引数は、証明書の有効開始日時です。\fBvalDays\fR引数は、証明書の有効日数を示します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   736
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   737
\fBdname\fRを指定すると、生成される証明書の主体として使用されます。それ以外の場合は、証明書リクエストからの名前が使用されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   738
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   739
\fBext\fR値は、証明書に埋め込まれるX\&.509エクステンションを示します。\fB\-ext\fRの構文については、一般オプションを参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   740
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   741
\fB\-gencert\fRオプションを使用すると、証明書チェーンを作成できます。次の例では、\fBe1\fRという証明書を作成します。この証明書の証明書チェーンには、3つの証明書が含まれています。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   742
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   743
次のコマンドは、\fBca\fR、\fBca1\fR、\fBca2\fRおよび\fBe1\fRの4つの鍵ペアを作成します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   744
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   745
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   746
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   747
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   748
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   749
\fBkeytool \-alias ca \-dname CN=CA \-genkeypair\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   750
\fBkeytool \-alias ca1 \-dname CN=CA \-genkeypair\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   751
\fBkeytool \-alias ca2 \-dname CN=CA \-genkeypair\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   752
\fBkeytool \-alias e1 \-dname CN=E1 \-genkeypair\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   753
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   754
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   755
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   756
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   757
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   758
次の2つのコマンドは、署名付き証明書のチェーンを作成します。\fBca\fRは\fBca1\fRに署名し、\fBca1\fRは\fBca2\fRに署名します。すべて自己発行です。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   759
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   760
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   761
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   762
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   763
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   764
\fBkeytool \-alias ca1 \-certreq |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   765
\fB    keytool \-alias ca \-gencert \-ext san=dns:ca1 |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   766
\fB    keytool \-alias ca1 \-importcert\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   767
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   768
\fBkeytool \-alias ca2 \-certreq |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   769
\fB    $KT \-alias ca1 \-gencert \-ext san=dns:ca2 |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   770
\fB    $KT \-alias ca2 \-importcert\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   771
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   772
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   773
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   774
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   775
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   776
次のコマンドは、証明書\fBe1\fRを作成してファイル\fBe1\&.cert\fRに格納します。この証明書は\fBca2\fRによって署名されます。その結果、\fBe1\fRの証明書チェーンには\fBca\fR、\fBca1\fRおよび\fBca2\fRが含まれることになります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   777
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   778
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   779
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   780
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   781
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   782
\fBkeytool \-alias e1 \-certreq | keytool \-alias ca2 \-gencert > e1\&.cert\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   783
 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   784
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   785
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   786
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   787
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
   788
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   789
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   790
\-genkeypair
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   791
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   792
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   793
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   794
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   795
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   796
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   797
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-keyalg \fR\fB\fIkeyalg\fR\fR\fB} {\-keysize \fR\fB\fIkeysize\fR\fR\fB} {\-sigalg \fR\fB\fIsigalg\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   798
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   799
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   800
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   801
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   802
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   803
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   804
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   805
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   806
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   807
\fB[\-dname \fR\fB\fIdname\fR\fR\fB] [\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-startdate \fR\fB\fIvalue\fR\fR\fB} {\-ext \fR\fB\fIext\fR\fR\fB}*\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   808
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   809
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   810
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   811
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   812
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   813
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   814
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   815
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   816
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   817
\fB{\-validity \fR\fB\fIvalDays\fR\fR\fB} {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   818
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   819
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   820
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   821
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   822
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   823
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   824
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   825
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   826
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   827
\fB[\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   828
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   829
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   830
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   831
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   832
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   833
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   834
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   835
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   836
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   837
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   838
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   839
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   840
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   841
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   842
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   843
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   844
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   845
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   846
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   847
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   848
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   849
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   850
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   851
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   852
鍵のペア(公開鍵および関連する秘密鍵)を生成します。公開鍵はX\&.509 v3自己署名証明書でラップされます。証明書は、単一の要素を持つ証明書チェーンとして格納されます。この証明書チェーンと秘密鍵は、aliasで特定される新しいキーストア・エントリに格納されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   853
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   854
\fBkeyalg\fR値は鍵ペアの生成に使用するアルゴリズムを、\fBkeysize\fR値は生成する各鍵のサイズを、それぞれ指定します。\fBsigalg\fR値は、自己署名証明書に署名を付けるために使用するアルゴリズムを指定します。このアルゴリズムは\fBkeyalg\fR値と互換性がある必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   855
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   856
\fBdname\fR値には、\fBalias\fR値に関連付け、自己署名証明書のissuerフィールドとsubjectフィールドとして使用するX\&.500識別名を指定します。コマンド行で識別名を指定しなかった場合は、識別名の入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   857
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   858
\fBkeypass\fR値には、生成される鍵のペアのうち、秘密鍵を保護するのに使用するパスワードを指定します。パスワードを指定しなかった場合は、パスワードの入力を求められます。このとき、[Return]キーを押すと、キーストアのパスワードと同じパスワードが鍵のパスワードに設定されます。\fBkeypass\fR値は、6文字以上にする必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   859
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   860
\fBstartdate\fR値には、証明書の発行時刻を指定します。これは、X\&.509証明書の「Validity」フィールドの「Not Before」値とも呼ばれます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   861
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   862
オプションの値は、次の2つの形式のいずれかで設定できます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   863
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   864
\fB([+\-]nnn[ymdHMS])+\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   865
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   866
\fB[yyyy/mm/dd] [HH:MM:SS]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   867
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   868
最初の形式では、発行時刻は、指定される値の分、現在の時刻から移ります。指定される値は、一連の下位の値を連結したものになります。下位の各値で、プラス記号(「+」)は時間が進むことを、マイナス記号(「\-」)は時間が戻ることを意味しています。移る時間は\fBnnn\fRで、単位は年、月、日、時間、分または秒です(それぞれ、1文字の\fBy\fR、\fBm\fR、\fBd\fR、\fBH\fR、\fBM\fRまたは\fBS\fR」で示されています)。下位の各値で\fBjava\&.util\&.GregorianCalendar\&.add(int field, int amount)\fRメソッドを使用することで、発行時刻の追加の値が左から右へ計算されます。たとえば、指定すると、発行時刻は次のようになります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   869
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   870
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   871
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   872
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   873
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   874
\fBCalendar c = new GregorianCalendar();\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   875
\fBc\&.add(Calendar\&.YEAR, \-1);\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   876
\fBc\&.add(Calendar\&.MONTH, 1);\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   877
\fBc\&.add(Calendar\&.DATE, \-1);\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   878
\fBreturn c\&.getTime()\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   879
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   880
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   881
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   882
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   883
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   884
2番目の形式では、ユーザーは、年/月/日と時間:分:秒の2つの部分で厳密な開始時刻を設定します(地元の時間帯を使用)。ユーザーは、1つの部分のみを指定できます。これは、もう1つの部分は現在の日付(または時刻)と同じになるということです。ユーザーは、形式の定義に示されているように、桁数を厳密に指定する必要があります(短い場合は0で埋めます)。日付と時刻の両方が指定された状態で、2つの部分の間に空白文字が1つ(1つのみ)あります。時間は常に24時間形式で指定してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   885
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   886
オプションを指定しないと、開始日付は現在の時刻になります。オプションは、最大で1回指定できます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   887
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   888
\fBvalDays\fRの値には、証明書の有効日数を指定します(\fB\-startdate\fRで指定された日付、または\fB\-startdate\fRが指定されていない場合は現在の日付から始まります)。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   889
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   890
このコマンドは、以前のリリースでは\fB\-genkey\fRという名前でした。このリリースでは、引き続き古い名前がサポートされています。今後は、新しい名前\fB\-genkeypair\fRが優先されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   891
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   892
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   893
\-genseckey
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   894
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   895
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   896
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   897
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   898
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   899
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   900
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-keyalg \fR\fB\fIkeyalg\fR\fR\fB} {\-keysize \fR\fB\fIkeysize\fR\fR\fB} [\-keypass \fR\fB\fIkeypass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   901
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   902
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   903
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   904
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   905
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   906
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   907
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   908
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   909
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   910
\fB{\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   911
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   912
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   913
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   914
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   915
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   916
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   917
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   918
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   919
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   920
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}} {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   921
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   922
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   923
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   924
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   925
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   926
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   927
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   928
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   929
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   930
\fB{\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   931
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   932
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   933
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   934
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   935
秘密鍵を生成し、それを新しい\fBKeyStore\&.SecretKeyEntry\fR(\fBalias\fRで特定される)内に格納します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   936
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   937
\fBkeyalg\fR値は鍵ペアの生成に使用するアルゴリズムを、\fBkeysize\fR値は生成する各鍵のサイズを、それぞれ指定します。\fBkeypass\fR値は、秘密鍵を保護するパスワードです。パスワードを指定しなかった場合は、パスワードの入力を求められます。このとき、[Return]キーを押すと、\fBkeystore\fRのパスワードと同じパスワードが鍵のパスワードに設定されます。\fBkeypass\fR値は、6文字以上にする必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   938
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   939
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   940
\-importcert
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   941
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   942
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   943
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   944
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   945
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   946
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   947
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-file \fR\fB\fIcert_file\fR\fR\fB} [\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-noprompt} {\-trustcacerts}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   948
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   949
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   950
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   951
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   952
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   953
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   954
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   955
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   956
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   957
\fB{\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   958
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   959
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   960
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   961
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   962
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   963
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   964
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   965
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   966
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   967
\fB{\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   968
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   969
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   970
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   971
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   972
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   973
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   974
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   975
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   976
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   977
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   978
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   979
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   980
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   981
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   982
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   983
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   984
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   985
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   986
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   987
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   988
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   989
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   990
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   991
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   992
ファイル\fBcert_file\fRから証明書または証明書チェーン(証明書チェーンの場合は、PKCS#7形式の応答または一連のX\&.509証明書で提供されるもの)を読み込み、\fBalias\fRによって特定される\fBkeystore\fRエントリに格納します。ファイルが指定されていない場合は、\fBstdin\fRから証明書または証明書チェーンを読み込みます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
   993
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   994
\fBkeytool\fRコマンドでは、X\&.509 v1、v2、v3の証明書、およびPKCS#7形式の証明書から構成されているPKCS#7形式の証明書チェーンをインポートできます。インポートするデータは、バイナリ符号化方式、または出力可能符号化方式(Base64符号化とも呼ばれる)のどちらかで提供する必要があります。出力可能符号化方式は、インターネットRFC 1421証明書符号化規格で定義されています。この符号化方式の場合、証明書は\fB\-\fR\fB\-\-\-\-BEGIN\fRで始まる文字列で開始され、\fB\-\-\-\-\-END\fRで始まる文字列で終了する必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   995
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   996
証明書は、信頼できる証明書のリストに追加するため、および認証局(CA)に証明書署名リクエストを送信した結果としてCAから受信した証明書応答をインポートするため(\fBの\fR\-certreqコマンドオプションを参照)という2つの理由でインポートします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   997
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   998
どちらのタイプのインポートを行うかは、\fB\-alias\fRオプションの値によって指定します。別名がキー・エントリをポイントしない場合、\fBkeytool\fRコマンドはユーザーが信頼できる証明書エントリを追加しようとしているものとみなします。この場合、別名がキーストア内に存在していないことが必要です。別名がすでに存在している場合、その別名の信頼できる証明書がすでに存在することになるので、\fBkeytool\fRコマンドはエラーを出力し、証明書のインポートを行いません。別名がキー・エントリをポイントする場合、\fBkeytool\fRコマンドはユーザーが証明書応答をインポートしようとしているものとみなします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   999
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1000
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1001
\-importpassword
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1002
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1003
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1004
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1005
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1006
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1007
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1008
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} [\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1009
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1010
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1011
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1012
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1013
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1014
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1015
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1016
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1017
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1018
\fB[\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1019
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1020
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1021
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1022
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1023
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1024
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1025
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1026
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1027
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1028
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1029
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1030
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1031
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1032
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1033
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1034
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1035
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1036
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1037
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1038
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1039
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1040
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1041
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1042
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1043
パスフレーズをインポートし、\fBalias\fRで識別される新規\fBKeyStore\&.SecretKeyEntry\fRに格納します。パスフレーズは、標準入力ストリームを介して提供できます。または、ユーザーにそのプロンプトが表示されます。\fBkeypass\fRは、インポートされるパスフレーズの保護に使用されるパスワードです。パスワードを指定しなかった場合は、パスワードの入力を求められます。このとき、[Return]キーを押すと、\fBkeystore\fRのパスワードと同じパスワードが鍵のパスワードに設定されます。\fBkeypass\fRは、6文字以上にする必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1044
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1045
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1046
\-importkeystore
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1047
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1048
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1049
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1050
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1051
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1052
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1053
\fB{\-srcstoretype \fR\fB\fIsrcstoretype\fR\fR\fB} {\-deststoretype \fR\fB\fIdeststoretype\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1054
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1055
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1056
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1057
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1058
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1059
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1060
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1061
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1062
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1063
\fB[\-srcstorepass \fR\fB\fIsrcstorepass\fR\fR\fB] [\-deststorepass \fR\fB\fIdeststorepass\fR\fR\fB] {\-srcprotected}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1064
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1065
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1066
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1067
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1068
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1069
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1070
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1071
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1072
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1073
\fB{\-destprotected} \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1074
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1075
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1076
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1077
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1078
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1079
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1080
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1081
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1082
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1083
\fB{\-srcalias \fR\fB\fIsrcalias\fR\fR\fB {\-destalias \fR\fB\fIdestalias\fR\fR\fB} [\-srckeypass \fR\fB\fIsrckeypass\fR\fR\fB]} \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1084
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1085
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1086
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1087
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1088
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1089
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1090
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1091
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1092
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1093
\fB[\-destkeypass \fR\fB\fIdestkeypass\fR\fR\fB] {\-noprompt}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1094
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1095
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1096
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1097
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1098
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1099
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1100
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1101
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1102
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1103
\fB{\-srcProviderName \fR\fB\fIsrc_provider_name\fR\fR\fB} {\-destProviderName \fR\fB\fIdest_provider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1104
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1105
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1106
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1107
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1108
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1109
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1110
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1111
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1112
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1113
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}} {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1114
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1115
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1116
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1117
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1118
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1119
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1120
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1121
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1122
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1123
\fB{\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1124
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1125
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1126
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1127
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1128
ソース・キーストアからターゲット・キーストアへ、単一のエントリまたはすべてのエントリをインポートします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1129
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1130
\fB\-srcalias\fRオプションが指定された場合、このコマンドは、その別名で特定される単一のエントリをターゲット・キーストアにインポートします。\fBdestalias\fR経由でターゲット別名が指定されなかった場合、\fBsrcalias\fRがターゲット別名として使用されます。ソースのエントリがパスワードで保護されていた場合、\fBsrckeypass\fRを使用してそのエントリが回復されます。\fIsrckeypass\fRが指定されなかった場合、\fBkeytool\fRコマンドは\fBsrcstorepass\fRを使用してそのエントリを回復しようとします。\fBsrcstorepass\fRが指定されなかったか正しくなかった場合、ユーザーはパスワードの入力を求められます。ターゲットのエントリは\fBdestkeypass\fRによって保護されます。\fBdestkeypass\fRが指定されなかった場合、ターゲット・エントリはソース・エントリのパスワードによって保護されます。たとえば、ほとんどのサード・パーティ・ツールでは、PKCS #12キーストアで\fBstorepass\fRと\fBkeypass\fRが同じである必要があります。これらのツールのPKCS #12キーストアを作成する場合は、常に\fB\-destkeypass\fRと\fB\-deststorepass\fRが同じになるように指定します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1131
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1132
\fB\-srcalias\fRオプションが指定されなかった場合、ソース・キーストア内のすべてのエントリがターゲット・キーストア内にインポートされます。各ターゲット・エントリは対応するソース・エントリの別名の下に格納されます。ソースのエントリがパスワードで保護されていた場合、\fBsrcstorepass\fRを使用してそのエントリが回復されます。\fBsrcstorepass\fRが指定されなかったか正しくなかった場合、ユーザーはパスワードの入力を求められます。ソース・キーストア内のあるエントリ・タイプがターゲット・キーストアでサポートされていない場合や、あるエントリをターゲット・キーストアに格納する際にエラーが発生した場合、ユーザーはそのエントリをスキップして処理を続行するか、または中止するかの選択を求められます。ターゲット・エントリはソース・エントリのパスワードによって保護されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1133
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1134
ターゲット別名がターゲット・キーストア内にすでに存在していた場合、ユーザーは、そのエントリを上書きするか、あるいは異なる別名の下で新しいエントリを作成するかの選択を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1135
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1136
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1137
\fB\-noprompt\fRオプションを指定した場合、ユーザーは新しいターゲット別名の入力を求められません。既存のエントリがそのターゲット別名で上書きされます。インポートできないエントリはスキップされ、警告が出力されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1138
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1139
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1140
\-printcertreq
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1141
.RS 4
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1142
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1143
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1144
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1145
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1146
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1147
\fB{\-file \fR\fB\fIfile\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1148
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1149
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1150
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1151
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1152
PKCS#10形式の証明書リクエストの内容を出力します。このリクエストは、\fBkeytool\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1153
\fB\-certreq\fRコマンドで生成できます。このコマンドは、ファイルからリクエストを読み取ります。ファイルが存在しない場合、リクエストは標準入力から読み取られます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1154
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1155
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1156
\-certreq
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1157
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1158
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1159
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1160
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1161
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1162
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1163
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-dname \fR\fB\fIdname\fR\fR\fB} {\-sigalg \fR\fB\fIsigalg\fR\fR\fB} {\-file \fR\fB\fIcertreq_file\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1164
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1165
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1166
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1167
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1168
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1169
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1170
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1171
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1172
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1173
\fB[\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1174
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1175
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1176
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1177
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1178
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1179
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1180
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1181
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1182
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1183
\fB[\-storepass \fR\fB\fIstorepass\fR\fR\fB] {\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1184
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1185
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1186
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1187
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1188
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1189
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1190
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1191
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1192
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1193
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1194
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1195
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1196
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1197
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1198
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1199
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1200
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1201
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1202
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1203
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1204
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1205
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1206
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1207
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1208
PKCS#10形式を使用して証明書署名リクエスト(CSR)を生成します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1209
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1210
CSRは、証明書発行局(CA)に送信することを目的としたものです。CAは、証明書要求者を(通常はオフラインで)認証し、証明書または証明書チェーンを送り返します。この証明書または証明書チェーンは、キーストア内の既存の証明書チェーン(最初は1つの自己署名証明書から構成される)に置き換えて使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1211
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1212
aliasに関連付けられた秘密鍵は、PKCS#10証明書リクエストを作成するのに使用されます。秘密鍵にアクセスするには、正しいパスワードを指定する必要があります。コマンド行で\fBkeypass\fRを指定しておらず、秘密鍵のパスワードがキーストアのパスワードと異なる場合は、秘密鍵のパスワードの入力を求められます。\fBdname\fRが指定されている場合は、それがCSRで主体として使用されます。それ以外の場合は、別名に関連付けられたX\&.500識別名が使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1213
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1214
\fBsigalg\fR値には、CSRに署名を付けるときに使用するアルゴリズムを指定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1215
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1216
CSRは、ファイルcertreq_fileに格納されます。ファイルが指定されていない場合は、\fBstdout\fRにCSRが出力されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1217
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1218
CAからのレスポンスをインポートするには、\fBimportcert\fRコマンドを使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1219
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1220
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1221
\-exportcert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1222
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1223
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1224
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1225
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1226
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1227
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1228
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-file \fR\fB\fIcert_file\fR\fR\fB} {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1229
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1230
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1231
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1232
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1233
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1234
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1235
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1236
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1237
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1238
\fB[\-storepass \fR\fB\fIstorepass\fR\fR\fB] {\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1239
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1240
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1241
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1242
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1243
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1244
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1245
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1246
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1247
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1248
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1249
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1250
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1251
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1252
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1253
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1254
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1255
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1256
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1257
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1258
\fB{\-rfc} {\-v} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1259
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1260
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1261
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1262
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1263
\fIalias\fRに関連付けられた証明書をキーストアから読み込み、ファイルcert_fileに格納します。ファイルが指定されていない場合は、\fBstdout\fRに証明書が出力されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1264
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1265
デフォルトでは、証明書はバイナリ符号化で出力されます。\fB\-rfc\fRオプションが指定されている場合、出力可能符号化方式の出力はインターネットRFC 1421証明書符号化規格で定義されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1266
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1267
\fBalias\fRが、信頼できる証明書を参照している場合は、該当する証明書が出力されます。それ以外の場合、\fBalias\fRは、関連付けられた証明書チェーンを持つ鍵エントリを参照します。この場合は、チェーン内の最初の証明書が返されます。この証明書は、\fBalias\fRによって表されるエンティティの公開鍵を認証する証明書です。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1268
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1269
このコマンドは、以前のリリースでは\fB\-export\fRという名前でした。このリリースでは、引き続き古い名前がサポートされています。今後は、新しい名前\fB\-exportcert\fRが優先されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1270
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1271
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1272
\-list
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1273
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1274
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1275
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1276
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1277
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1278
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1279
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1280
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1281
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1282
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1283
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1284
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1285
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1286
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1287
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1288
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1289
\fB{\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1290
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1291
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1292
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1293
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1294
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1295
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1296
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1297
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1298
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1299
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1300
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1301
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1302
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1303
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1304
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1305
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1306
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1307
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1308
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1309
\fB{\-v | \-rfc} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1310
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1311
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1312
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1313
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1314
\fBalias\fRで特定されるキーストア・エントリの内容を\fBstdout\fRに出力します。\fBalias\fRが指定されていない場合は、キーストア全体の内容が表示されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1315
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1316
このコマンドは、デフォルトでは証明書のSHA1フィンガープリントを表示します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1317
\fB\-v\fRオプションが指定されている場合は、所有者、発行者、シリアル番号、拡張機能などの付加的な情報とともに、人間が読むことのできる形式で証明書が表示されます。\fB\-rfc\fRオプションが指定されている場合は、出力可能符号化方式で証明書の内容が出力されます。出力可能符号化方式は、インターネットRFC 1421証明書符号化規格で定義されています。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1318
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1319
\fB\-v\fRオプションと\fB\-rfc\fRオプションを同時に指定することはできません。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1320
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1321
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1322
\-printcert
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1323
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1324
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1325
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1326
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1327
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1328
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1329
\fB{\-file \fR\fB\fIcert_file\fR\fR\fB | \-sslserver \fR\fB\fIhost\fR\fR\fB[:\fR\fB\fIport\fR\fR\fB]} {\-jarfile \fR\fB\fIJAR_file\fR\fR\fB {\-rfc} {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1330
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1331
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1332
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1333
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1334
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1335
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1336
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1337
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1338
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1339
\fB{\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1340
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1341
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1342
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1343
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1344
ファイルcert_file、host:portにあるSSLサーバー、または署名付きJARファイル\fBJAR_file\fR(\fB\-jarfile\fRオプションを指定)から証明書を読み込み、人間が読むことのできる形式で証明書の内容を表示します。ポートが指定されていない場合は、標準のHTTPSポート443が想定されます。\fB\-sslserver\fRおよび\-fileオプションを同時に指定することはできません。それ以外の場合、エラーが報告されます。オプションが指定されていない場合は、\fBstdin\fRから証明書を読み込みます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1345
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1346
\fB\-rfc\fRが指定されている場合、\fBkeytool\fRコマンドは、インターネットRFC 1421証明書符号化標準で定義されているように、PEMモードで証明書を出力します。インターネットRFC 1421証明書符号化規格を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1347
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1348
ファイルまたは\fBstdin\fRから証明書を読み込む場合、その証明書は、インターネットRFC 1421証明書符号化標準で定義されているように、バイナリ符号化方式または出力可能符号化方式で表示できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1349
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1350
SSLサーバーがファイアウォールの背後にある場合は、\fB\-J\-Dhttps\&.proxyHost=proxyhost\fRおよび\fB\-J\-Dhttps\&.proxyPort=proxyport\fRオプションをコマンド行で指定して、プロキシ・トンネリングを使用できます。http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide\&.htmlの
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1351
「Java Secure Socket Extension (JSSE) Reference Guide」を参照してください
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1352
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1353
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1354
このオプションはキーストアとは関係なく使用できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1355
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1356
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1357
\-printcrl
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1358
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1359
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1360
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1361
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1362
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1363
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1364
\fB\-file \fR\fB\fIcrl_\fR\fR\fB {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1365
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1366
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1367
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1368
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1369
ファイル\fBcrl_\fRから証明書失効リスト(CRL)を読み込みます。CRLは、発行したCAによって失効されたデジタル証明書のリストです。CAは、\fBcrl_\fRを生成します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1370
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1371
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1372
このオプションはキーストアとは関係なく使用できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1373
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1374
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1375
\-storepasswd
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1376
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1377
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1378
.if n \{\
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1379
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1380
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1381
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1382
\fB[\-new \fR\fB\fInew_storepass\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1383
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1384
.if n \{\
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1385
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1386
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1387
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1388
.if n \{\
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1389
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1390
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1391
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1392
\fB[\-storepass \fR\fB\fIstorepass\fR\fR\fB] {\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1393
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1394
.if n \{\
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1395
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1396
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1397
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1398
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1399
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1400
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1401
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1402
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1403
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1404
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1405
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1406
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1407
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1408
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1409
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1410
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1411
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1412
\fB{\-v} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1413
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1414
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1415
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1416
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1417
キーストアの内容の整合性を保護するために使用するパスワードを変更します。\fBnew_storepass\fRには、新しいパスワードを指定します。new_storepassは、6文字以上である必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1418
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1419
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1420
\-keypasswd
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1421
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1422
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1423
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1424
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1425
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1426
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1427
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} [\-keypass \fR\fB\fIold_keypass\fR\fR\fB] [\-new \fR\fB\fInew_keypass\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1428
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1429
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1430
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1431
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1432
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1433
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1434
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1435
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1436
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1437
\fB{\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB] {\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1438
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1439
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1440
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1441
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1442
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1443
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1444
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1445
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1446
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1447
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}} {\-v}\fR
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1448
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1449
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1450
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1451
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1452
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1453
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1454
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1455
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1456
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1457
\fB{\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1458
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1459
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1460
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1461
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1462
\fBalias\fRによって特定される非公開/秘密鍵を保護するためのパスワードを、\fBold_keypass\fRから\fBnew_keypass\fRに変更します。new_keypassは、6文字以上である必要があります。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1463
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1464
コマンド行で\fB\-keypass\fRオプションを指定しておらず、鍵のパスワードがキーストアのパスワードと異なる場合は、鍵のパスワードの入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1465
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1466
コマンド行で\fB\-new\fRオプションを指定しなかった場合は、新しいパスワードの入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1467
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1468
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1469
\-delete
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1470
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1471
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1472
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1473
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1474
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1475
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1476
\fB[\-alias \fR\fB\fIalias\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB} {\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1477
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1478
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1479
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1480
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1481
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1482
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1483
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1484
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1485
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1486
\fB{\-providerName \fR\fB\fIprovider_name\fR\fR\fB}  \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1487
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1488
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1489
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1490
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1491
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1492
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1493
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1494
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1495
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1496
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1497
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1498
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1499
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1500
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1501
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1502
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1503
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1504
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1505
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1506
\fB{\-v} {\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1507
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1508
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1509
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1510
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1511
\fBalias\fRによって特定されるエントリをキーストアから削除します。コマンド行で別名を指定しなかった場合は、別名の入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1512
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1513
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1514
\-changealias
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1515
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1516
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1517
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1518
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1519
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1520
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1521
\fB{\-alias \fR\fB\fIalias\fR\fR\fB} [\-destalias \fR\fB\fIdestalias\fR\fR\fB] [\-keypass \fR\fB\fIkeypass\fR\fR\fB] {\-storetype \fR\fB\fIstoretype\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1522
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1523
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1524
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1525
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1526
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1527
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1528
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1529
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1530
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1531
\fB{\-keystore \fR\fB\fIkeystore\fR\fR\fB} [\-storepass \fR\fB\fIstorepass\fR\fR\fB] {\-providerName \fR\fB\fIprovider_name\fR\fR\fB}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1532
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1533
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1534
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1535
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1536
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1537
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1538
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1539
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1540
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1541
\fB{\-providerClass \fR\fB\fIprovider_class_name\fR\fR\fB {\-providerArg \fR\fB\fIprovider_arg\fR\fR\fB}} {\-v}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1542
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1543
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1544
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1545
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1546
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1547
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1548
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1549
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1550
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1551
\fB{\-protected} {\-Jjavaoption}\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1552
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1553
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1554
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1555
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1556
指定された\fBalias\fRから新しい別名\fBdestalias\fRへ、既存のキーストア・エントリを移動します。ターゲット別名を指定しなかった場合、ターゲット別名の入力を求められます。元のエントリがエントリ・パスワードで保護されていた場合、\fB\-keypass\fRオプションでそのパスワードを指定できます。鍵パスワードが指定されなかった場合、\fBstorepass\fR(指定された場合)がまず試みられます。その試みが失敗すると、ユーザーはパスワードの入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1557
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1558
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1559
\-help
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1560
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1561
基本的なコマンドとそのオプションの一覧を表示します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1562
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1563
特定のコマンドの詳細を参照するには、次のように入力してください:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1564
\fBkeytool \-command_name \-help\fR。\fBcommand_name\fRはコマンドの名前です。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1565
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1566
.SH "例"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1567
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1568
この例では、公開/秘密鍵のペアおよび信頼できるエンティティからの証明書を管理するためのキーストアを作成する手順を示します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1569
.SS "鍵のペアの生成"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1570
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1571
まず、キーストアを作成して鍵のペアを生成します。単一行に入力する、次のようなコマンドを使用できます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1572
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1573
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1574
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1575
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1576
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1577
\fBkeytool \-genkeypair \-dname "cn=Mark Jones, ou=Java, o=Oracle, c=US"\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1578
\fB    \-alias business \-keypass <new password for private key>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1579
\fB    \-keystore /working/mykeystore\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1580
\fB    \-storepass <new password for keystore> \-validity 180\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1581
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1582
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1583
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1584
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1585
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1586
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1587
コマンドは、workingディレクトリに\fBmykeystore\fRという名前のキーストアを作成し(キーストアはまだ存在していないと仮定)、作成したキーストアに、\fB<new password for keystore>\fRで指定したパスワードを割り当てます。生成する公開鍵と秘密鍵のペアに対応するエンティティの「識別名」は、通称がMark Jones、組織単位がJava、組織がOracle、2文字の国番号がUSです。公開鍵と秘密鍵のサイズはどちらも1024ビットで、鍵の作成にはデフォルトのDSA鍵生成アルゴリズムを使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1588
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1589
このコマンドは、デフォルトのSHA1withDSA署名アルゴリズムを使用して、公開鍵と識別名情報を含む自己署名証明書を作成します。証明書の有効期間は180日です。証明書は、別名\fBbusiness\fRで特定されるキーストア・エントリ内の秘密鍵に関連付けられます。秘密鍵には、\fB<new password for private key>\fRで指定したパスワードが割り当てられます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1590
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1591
オプションのデフォルト値を使用する場合、コマンドは大幅に短くなります。この場合、オプションは不要です。デフォルト値を持つオプションでは、オプションを指定しなければデフォルト値が使用されます。必須値の入力を求められます。使用可能な値は次のとおりです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1592
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1593
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1594
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1595
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1596
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1597
\fBkeytool \-genkeypair\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1598
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1599
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1600
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1601
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1602
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1603
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1604
この場合は、\fBmykey\fRという別名でキーストア・エントリが作成され、新しく生成された鍵のペア、および90日間有効な証明書がこのエントリに格納されます。このエントリは、ホーム・ディレクトリ内の\fB\&.keystore\fRという名前のキーストアに置かれます。キーストアは、まだ存在していない場合に作成されます。識別名情報、キーストアのパスワードおよび秘密鍵のパスワードの入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1605
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1606
以降では、オプションを指定しないで\fB\-genkeypair\fRコマンドを実行したものとして例を示します。情報の入力を求められた場合は、最初に示した\fB\-genkeypair\fRコマンドの値を入力したものとします。たとえば識別名には\fBcn=Mark Jones\fR、\fBou=Java\fR、\fBo=Oracle\fR、\fBc=US\fRと指定します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1607
.SS "CAからの署名付き証明書のリクエスト"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1608
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1609
自己署名証明書を作成する鍵のペアの生成。証明書に認証局(CA)の署名が付いていれば、他のユーザーから証明書が信頼される可能性も高くなります。CAの署名を取得するには、まず、証明書署名リクエスト(CSR)を生成します。たとえば、次のようにします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1610
.sp
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1611
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1612
.RS 4
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1613
.\}
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1614
.nf
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1615
\fBkeytool \-certreq \-file MarkJ\&.csr\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1616
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1617
.fi
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1618
.if n \{\
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1619
.RE
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1620
.\}
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1621
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1622
CSR(デフォルト別名\fBmykey\fRによって特定されるエンティティのCSR)が作成され、MarkJ\&.csrという名前のファイルに置かれます。このファイルをCA (VeriSignなど)に提出します。CAは要求者を(通常はオフラインで)認証し、要求者の公開鍵を認証した署名付きの証明書を送り返します。場合によっては、CAが証明書のチェーンを返すこともあります。証明書のチェーンでは、各証明書がチェーン内のその前の署名者の公開鍵を認証します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1623
.SS "CAからの証明書のインポート"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1624
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1625
作成した自己署名証明書は、証明書チェーンで置き換える必要があります。証明書チェーンでは、各証明書が、「ルート」CAを起点とするチェーン内の次の証明書の署名者の公開鍵を認証します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1626
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1627
CAからの証明書応答をインポートするには、キーストアか、\fBcacerts\fRキーストア・ファイル内に1つ以上の信頼できる証明書がある必要があります。コマンドの\fB\-importcert\fRを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1628
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1629
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1630
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1631
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1632
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1633
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1634
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1635
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1636
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1637
証明応答が証明書チェーンの場合は、チェーンの最上位証明書が必要です。CAの公開鍵を認証するルートCA証明書。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1638
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1639
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1640
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1641
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1642
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1643
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1644
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1645
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1646
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1647
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1648
証明書応答が単一の証明書の場合は、発行CA(署名した)の証明書が必要です。その証明書が自己署名でない場合は、その署名者の証明書が必要であり、このようにして自己署名ルート証明書が必要になります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1649
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1650
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1651
\fBcacerts\fRキーストア・ファイルは、いくつかのVeriSignルートCA証明書を含んだ状態で出荷されているので、VeriSignの証明書を、信頼できる証明書としてキーストア内にインポートする必要がない場合があります。ただし、他のCAに対して署名付き証明書をリクエストしていて、このCAの公開鍵を認証する証明書が、\fBcacerts\fRにまだ追加されていない場合は、該当するCAからの証明書を、「信頼できる証明書」としてインポートする必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1652
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1653
通常、CAからの証明書は、自己署名証明書、または他のCAによって署名された証明書です(後者の場合は、該当する他のCAの公開鍵を認証する証明書が必要)。ABC, Inc\&.,がCAで、ABCから自己署名証明書であるA\fBBCCA\&.cer\fRという名前のファイルを取得したとします(この証明書はCAの公開鍵を認証します)。信頼できる証明書として証明書をインポートするときは、証明書が有効であることを確認する必要があります。まず、証明書の内容を表示し、\fBkeytool \-printcert\fRコマンドを使用するか、または\fB\-noprompt\fRオプションを指定しないで\fBkeytool \-importcert\fRコマンドを使用し、表示された証明書のフィンガープリントが、期待されるフィンガープリントと一致するかどうかを確認します。証明書を送信した人物に連絡し、この人物が提示した(または安全な公開鍵のリポジトリによって提示される)フィンガープリントと、上のコマンドで表示されたフィンガープリントとを比較します。フィンガープリントが一致すれば、送信途中で他の何者か(攻撃者など)による証明書のすり替えが行われていないことを確認できます。送信途中でこの種の攻撃が行われていた場合、チェックを行わずに証明書をインポートすると、攻撃者によって署名されたすべてのものを信頼することになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1654
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1655
証明書が有効であると信頼する場合は、次のコマンドでキーストアに追加できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1656
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1657
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1658
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1659
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1660
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1661
\fBkeytool \-importcert \-alias abc \-file ABCCA\&.cer\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1662
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1663
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1664
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1665
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1666
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1667
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1668
ABCCA\&.cerファイルのデータを含む信頼できる証明書のエントリがキーストア内に作成され、該当するエントリに\fBabc\fRという別名が割り当てられます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1669
.SS "CAからの証明書応答のインポート"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1670
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1671
証明書署名リクエストの提出先のCAの公開鍵を認証する証明書をインポートした後は(または同種の証明書がすでにcacertsファイル内に存在している場合は)、証明応答をインポートし、自己署名証明書を証明書チェーンで置き換えることができます。このチェーンは、CAの応答がチェーンの場合に、リクエストに対するレスポンスとしてCAから送り返された証明書チェーンです。また、CAの応答が単一の証明書の場合は、この証明応答と、インポート先のキーストア内または\fBcacerts\fRキーストアファイル内にすでに存在する信頼できる証明書とを使用して構築した証明書チェーンです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1672
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1673
たとえば、証明書署名リクエストをVeriSignに送信する場合、送り返された証明書の名前がVSMarkJ\&.cerだとすると、次のようにして応答をインポートできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1674
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1675
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1676
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1677
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1678
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1679
\fBkeytool \-importcert \-trustcacerts \-file VSMarkJ\&.cer\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1680
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1681
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1682
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1683
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1684
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1685
.SS "公開鍵を認証する証明書のエクスポート"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1686
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1687
\fBjarsigner\fRコマンドを使用してJava Archive (JAR)ファイルに署名する場合、このファイルを使用するクライアントは署名を認証する必要があります。クライアントが署名を認証する方法の1つに、まず自分の公開鍵の証明書を信頼できるエントリとしてクライアントのキーストアにインポートする方法があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1688
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1689
そのためには、証明書をエクスポートして、クライアントに提供します。例として、次のコマンドを使用して、MJ\&.cerという名前のファイルに証明書をコピーできます。このコマンドでは、エントリに別名\fBmykey\fRがあると仮定しています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1690
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1691
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1692
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1693
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1694
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1695
\fBkeytool \-exportcert \-alias mykey \-file MJ\&.cer\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1696
 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1697
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1698
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1699
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1700
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1701
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1702
証明書と署名付きJARファイルを入手したクライアントは、\fBjarsigner\fRコマンドを使用して署名を認証できます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1703
.SS "キーストアのインポート"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1704
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1705
コマンド\fBimportkeystore\fRを使用すれば、あるキーストアの全体を別のキーストア内にインポートできます。これは、鍵や証明書といったソースキーストア内のすべてのエントリが、単一のコマンドを使用してターゲットキーストア内にインポートされることを意味します。このコマンドを使用すれば、異なるタイプのキーストア内に含まれるエントリをインポートすることができます。インポート時には、ターゲット・キーストア内の新しいエントリはすべて、元と同じ別名および(秘密鍵や秘密鍵の場合は)保護用パスワードを持ちます。ソースキーストア内の非公開/秘密鍵をリカバリできない場合、\fBkeytool\fRコマンドはユーザーにパスワードの入力を求めます。このコマンドは、別名の重複を検出すると、ユーザーに新しい別名の入力を求めます。ユーザーは、新しい別名を指定することも、単純に既存の別名の上書きを\fBkeytool\fRコマンドに許可することもできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1706
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1707
たとえば、通常のJKSタイプのキーストアkey\&.jks内のエントリをPKCS#11タイプのハードウェア・ベースのキーストア内にインポートするには、次のコマンドを使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1708
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1709
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1710
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1711
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1712
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1713
\fBkeytool \-importkeystore\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1714
\fB    \-srckeystore key\&.jks \-destkeystore NONE\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1715
\fB    \-srcstoretype JKS \-deststoretype PKCS11\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1716
\fB    \-srcstorepass <src keystore password>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1717
\fB    \-deststorepass <destination keystore pwd>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1718
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1719
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1720
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1721
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1722
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1723
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1724
また、\fBimportkeystore\fRコマンドを使用すれば、あるソース・キーストア内の単一のエントリをターゲット・キーストアにインポートすることもできます。この場合は、前例のオプションに加えて、インポートする別名を指定する必要があります。\fB\-srcalias\fRオプションを指定する場合には、ターゲット別名もコマンド行から指定できるほか、秘密/秘密鍵の保護用パスワードやターゲット保護用パスワードも指定できます。その方法を示すコマンドを次に示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1725
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1726
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1727
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1728
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1729
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1730
\fBkeytool \-importkeystore\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1731
\fB    \-srckeystore key\&.jks \-destkeystore NONE\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1732
\fB    \-srcstoretype JKS \-deststoretype PKCS11\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1733
\fB    \-srcstorepass <src keystore password>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1734
\fB    \-deststorepass <destination keystore pwd>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1735
\fB    \-srcalias myprivatekey \-destalias myoldprivatekey\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1736
\fB    \-srckeypass <source entry password>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1737
\fB    \-destkeypass <destination entry password>\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1738
\fB    \-noprompt\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1739
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1740
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1741
.if n \{\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1742
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1743
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1744
.SS "SSLサーバーの証明書の生成"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1745
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1746
次に、3つのエンティティ、つまりルートCA(\fBroot\fR)、中間CA(\fBca\fR)およびSSLサーバー(\fBserver\fR)用の鍵ペアと証明書を生成する\fBkeytool\fRコマンドを示します。すべての証明書を同じキーストアに格納するようにしてください。これらの例では、RSAが推奨される鍵のアルゴリズムです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1747
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1748
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1749
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1750
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1751
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1752
\fBkeytool \-genkeypair \-keystore root\&.jks \-alias root \-ext bc:c\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1753
\fBkeytool \-genkeypair \-keystore ca\&.jks \-alias ca \-ext bc:c\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1754
\fBkeytool \-genkeypair \-keystore server\&.jks \-alias server\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1755
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1756
\fBkeytool \-keystore root\&.jks \-alias root \-exportcert \-rfc > root\&.pem\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1757
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1758
\fBkeytool \-storepass <storepass> \-keystore ca\&.jks \-certreq \-alias ca |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1759
\fB    keytool \-storepass <storepass> \-keystore root\&.jks\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1760
\fB    \-gencert \-alias root \-ext BC=0 \-rfc > ca\&.pem\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1761
\fBkeytool \-keystore ca\&.jks \-importcert \-alias ca \-file ca\&.pem\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1762
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1763
\fBkeytool \-storepass <storepass> \-keystore server\&.jks \-certreq \-alias server |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1764
\fB    keytool \-storepass <storepass> \-keystore ca\&.jks \-gencert \-alias ca\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1765
\fB    \-ext ku:c=dig,kE \-rfc > server\&.pem\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1766
\fBcat root\&.pem ca\&.pem server\&.pem |\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1767
\fB    keytool \-keystore server\&.jks \-importcert \-alias server\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1768
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1769
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1770
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1771
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1772
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1773
.SH "用語"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1774
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1775
キーストア
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1776
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1777
キーストアは、暗号化の鍵と証明書を格納するための機能です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1778
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1779
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1780
キーストアのエントリ
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1781
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1782
キーストアには異なるタイプのエントリを含めることができます。\fBkeytool\fRコマンドで最も適用範囲の広いエントリ・タイプは、次の2つです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1783
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1784
\fB鍵のエントリ\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1785
\- 各エントリは、非常に重要な暗号化の鍵の情報を保持します。この情報は、許可していないアクセスを防ぐために、保護された形で格納されます。一般に、この種のエントリとして格納される鍵は、秘密鍵か、対応する公開鍵の証明書チェーンを伴う秘密鍵です。証明書チェーンを参照してください。\fBkeytool\fRコマンドがこの両方のタイプのエントリを処理できるのに対し、\fBjarsigner\fRツールは後者のタイプのエントリ、つまり秘密鍵とそれに関連付けられた証明書チェーンのみを処理します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1786
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1787
\fB信頼できる証明書のエントリ\fR: 各エントリは、第三者からの公開鍵証明書を1つ含んでいます。このエントリは、信頼できる証明書と呼ばれます。それは、証明書内の公開鍵が、証明書のSubject(所有者)によって特定されるアイデンティティに由来するものであることを、キーストアの所有者が信頼するからです。証明書の発行者は、証明書に署名を付けることによって、その内容を保証します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1788
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1789
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1790
キーストアの別名
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1791
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1792
キーストアのすべてのエントリ(鍵および信頼できる証明書エントリ)は、一意の別名を介してアクセスされます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1793
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1794
別名を指定するのは、\fB\-genseckey\fRコマンドを使用して秘密鍵を生成したり、\fB\-genkeypair\fRコマンドを使用して鍵ペア(公開鍵と秘密鍵)を生成したり、\fB\-importcert\fRコマンドを使用して証明書または証明書チェーンを信頼できる証明書のリストに追加するなど、特定のエンティティをキーストアに追加する場合です。これ以後、\fBkeytool\fRコマンドでエンティティを参照する場合は、このときに指定した別名を使用する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1795
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1796
たとえば、\fBduke\fRという別名を使用して新しい公開鍵と秘密鍵のペアを生成し、公開鍵を自己署名証明書でラップするとします。この場合は、次のコマンドを実行します。証明書チェーンを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1797
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1798
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1799
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1800
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1801
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1802
\fBkeytool \-genkeypair \-alias duke \-keypass dukekeypasswd\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1803
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1804
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1805
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1806
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1807
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1808
この例では、初期パスワードとして\fBdukekeypasswd\fRを指定しています。以後、別名\fBduke\fRに関連付けられた秘密鍵にアクセスするコマンドを実行するときは、このパスワードが必要になります。Dukeの秘密鍵のパスワードをあとから変更するには、次のコマンドを実行します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1809
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1810
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1811
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1812
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1813
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1814
\fBkeytool \-keypasswd \-alias duke \-keypass dukekeypasswd \-new newpass\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1815
 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1816
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1817
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1818
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1819
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1820
パスワードが、\fBdukekeypasswd\fRから\fBnewpass\fRに変更されます。テスト目的の場合、またはセキュアなシステムを使用している場合以外は、コマンド行やスクリプトでパスワードを指定しないでください。必要なパスワードのオプションをコマンド行で指定しなかった場合は、パスワードの入力を求められます。
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1821
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1822
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1823
キーストアの実装
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1824
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1825
\fBjava\&.security\fRパッケージで提供されている\fBKeyStore\fRクラスは、キーストア内の情報へのアクセスおよび情報の変更を行うための、明確に定義されたインタフェースを提供します。キーストアの固定実装としては、それぞれが特定のタイプのキーストアを対象とする複数の異なる実装が存在可能です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1826
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1827
現在、\fBkeytool\fRと\fBjarsigner\fRの2つのコマンド行ツールと、Policy Toolという名前のGUIベースのツールが、キーストアの実装を使用しています。\fBKeyStore\fRクラスは\fBpublic\fRであるため、ユーザーはKeyStoreを使用した他のセキュリティ・アプリケーションも作成できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1828
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1829
キーストアには、Oracleが提供する組込みのデフォルトの実装があります。これは、JKSという名前の独自のキーストア・タイプ(形式)を利用するもので、キーストアをファイルとして実装しています。この実装では、個々の秘密鍵は個別のパスワードによって保護され、キーストア全体の整合性も(秘密鍵とは別の)パスワードによって保護されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1830
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1831
キーストアの実装は、プロバイダベースです。具体的には、\fBKeyStore\fRによって提供されるアプリケーション・インタフェースがサービス・プロバイダ・インタフェース(SPI)に基づいて実装されます。つまり、対応する\fBKeystoreSpi\fR抽象クラス(これも\fBjava\&.security\fRパッケージに含まれています)があり、このクラスが、プロバイダが実装する必要のあるService Provider Interfaceのメソッドを定義しています。ここで、\fIプロバイダ\fRとは、Java Security APIによってアクセス可能なサービスのサブセットに対し、その固定実装を提供するパッケージまたはパッケージの集合のことです。キーストアの実装を提供するには、http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/security/crypto/HowToImplAProvider\&.htmlにある
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1832
Java暗号化アーキテクチャのプロバイダの実装方法で説明しているように、クライアントはプロバイダを実装し、\fBKeystoreSpi\fRサブクラスの実装を提供する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1833
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1834
アプリケーションでは、\fBKeyStore\fRクラスが提供する\fBgetInstance\fRファクトリ・メソッドを使用することで、様々なプロバイダから異なるタイプのキーストアの実装を選択できます。キーストアのタイプは、キーストア情報の格納形式とデータ形式を定義するとともに、キーストア内の非公開/秘密鍵とキーストアの整合性を保護するために使用されるアルゴリズムを定義します。異なるタイプのキーストアの実装には、互換性はありません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1835
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1836
\fBkeytool\fRコマンドは、任意のファイルベースのキーストア実装で動作します。コマンド行で渡されたキーストアの場所をファイル名として扱って、\fBFileInputStream\fRに変換し、ここからキーストア情報をロードします。\fBjarsigner\fRおよび\fBpolicytool\fRコマンドは、URLで指定できる任意の場所からキーストアを読み取ることができます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1837
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1838
\fBkeytool\fRと\fBjarsigner\fRの場合、\fB\-storetype\fRオプションを使用してコマンド行でキーストアのタイプを指定できます。Policy Toolの場合は、「キーストア」メニューによってキーストアのタイプを指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1839
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1840
ユーザーがキーストアのタイプを明示的に指定しなかった場合、セキュリティ・プロパティ・ファイルで指定された\fBkeystore\&.type\fRプロパティの値に基づいて、ツールによってキーストアの実装が選択されます。このセキュリティ・プロパティ・ファイルは\fBjava\&.security\fRと呼ばれ、Windowsではセキュリティ・プロパティ・ディレクトリ\fBjava\&.home\elib\esecurity\fR、Oracle Solarisでは\fBjava\&.home/lib/security\fRにあります。\fBjava\&.home\fRは、実行時環境のディレクトリです。\fBjre\fRディレクトリは、SDKまたはJava Runtime Environment (JRE)の最上位のディレクトリにあります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1841
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1842
各ツールは、\fBkeystore\&.type\fRの値を取得し、この値で指定されたタイプのキーストアを実装しているプロバイダが見つかるまで、現在インストールされているすべてのプロバイダを調べます。そのプロバイダからのキーストアの実装を使用します。\fBKeyStore\fRクラスに定義されているstaticメソッド\fBgetDefaultType\fRを使用すると、アプリケーションやアプレットから\fBkeystore\&.type\fRプロパティの値を取得できます。次のコードは、デフォルトのキーストア・タイプ(\fBkeystore\&.type\fRプロパティで指定されたタイプ)のインスタンスを生成します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1843
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1844
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1845
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1846
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1847
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1848
\fBKeyStore keyStore = KeyStore\&.getInstance(KeyStore\&.getDefaultType());\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1849
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1850
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1851
.if n \{\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1852
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1853
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1854
デフォルトのキーストア・タイプは\fBjks\fRで、これはOracleが提供する独自のタイプのキーストアの実装です。これは、セキュリティ・プロパティ・ファイル内の次の行によって指定されています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1855
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1856
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1857
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1858
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1859
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1860
\fBkeystore\&.type=jks\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1861
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1862
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1863
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1864
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1865
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1866
各ツールでデフォルト以外のキーストアの実装を使用するには、上の行を変更して別のキーストアのタイプを指定します。たとえば、\fBpkcs12\fRと呼ばれるキーストアのタイプのキーストアの実装を提供するプロバイダ・パッケージがある場合、行を次のように変更します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1867
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1868
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1869
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1870
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1871
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1872
\fBkeystore\&.type=pkcs12\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1873
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1874
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1875
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1876
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1877
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1878
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1879
キーストアのタイプの指定では、大文字と小文字は区別されません。たとえば、JKSとjksは同じものとして扱われます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1880
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1881
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1882
証明書
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1883
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1884
証明書(公開鍵証明書)とは、あるエンティティ(発行者)からのデジタル署名付きの文書のことです。証明書には、他のあるエンティティ(署名者)の公開鍵(およびその他の情報)が特別な値を持っていることが書かれています。次の用語は、証明書に関連しています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1885
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1886
\fB公開鍵\fR: 公開鍵は、特定のエンティティに関連付けられた数です。公開鍵は、該当するエンティティとの間に信頼できる関係を持つ必要があるすべての人に対して公開することを意図したものです。公開鍵は、署名を検証するのに使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1887
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1888
\fBデジタル署名\fR: データがデジタル署名されると、そのデータは、エンティティのアイデンティティと、そのエンティティがデータの内容について知っていることを証明書する署名とともに格納されます。エンティティの秘密鍵を使用してデータに署名を付けると、データの偽造は不可能になります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1889
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1890
\fBアイデンティティ\fR: エンティティをアドレス指定する既知の方法。システムによっては、公開鍵をアイデンティティにするものがあります。公開鍵の他にも、Oracle Solaris UIDや電子メール・アドレス、X\&.509識別名など、様々なものをアイデンティティとすることができます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1891
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1892
\fB署名\fR: 署名は、なんらかのデータを基にエンティティの秘密鍵を使用して計算されます。署名者、証明書の場合は発行者とも呼ばれます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1893
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1894
\fB秘密鍵\fR: 秘密鍵は特定のエンティティのみが知っている数のことで、この数のことを、そのエンティティの秘密鍵といいます。秘密鍵は、他に知られないように秘密にしておくことが前提になっています。秘密鍵と公開鍵は、すべての公開鍵暗号化システムで対になって存在しています。DSAなどの典型的な公開鍵暗号化システムの場合、1つの秘密鍵は正確に1つの公開鍵に対応します。秘密鍵は、署名を計算するのに使用されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1895
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1896
\fBエンティティ\fR: エンティティは、人、組織、プログラム、コンピュータ、企業、銀行など、一定の度合いで信頼の対象となる様々なものを指します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1897
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1898
公開鍵暗号化では、ユーザーの公開鍵にアクセスする必要があります。大規模なネットワーク環境では、互いに通信しているエンティティ間で以前の関係が引続き確立されていると仮定したり、使用されているすべての公開鍵を収めた信頼できるリポジトリが存在すると仮定したりすることは不可能です。このような公開鍵の配布に関する問題を解決するために証明書が考案されました。現在では、認証局(CA)が信頼できる第三者として機能します。CAは、他のエンティティの証明書に署名する(発行する)行為を、信頼して任されているエンティティ(企業など)です。CAは法律上の契約に拘束されるので、有効かつ信頼できる証明書のみを作成するものとして扱われます。VeriSign、Thawte、Entrustをはじめ、多くの公的な認証局が存在します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1899
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1900
Microsoftの認証サーバー、EntrustのCA製品などを所属組織内で利用すれば、独自の認証局を運営することも可能です。\fBkeytool\fRコマンドを使用すると、証明書の表示、インポートおよびエクスポートを行うことができます。また、自己署名証明書を生成することもできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1901
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1902
現在、\fBkeytool\fRコマンドはX\&.509証明書を対象にしています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1903
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1904
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1905
X\&.509証明書
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1906
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1907
X\&.509規格では、証明書に含める情報が定義されており、この情報を証明書に書き込む方法(データ形式)についても記述されています。証明書のすべてのデータは、ASN\&.1/DERと呼ばれる2つの関連規格を使用して符号化されます。Abstract Syntax Notation 1はデータについて記述しています。Definite Encoding Rulesは、データの保存および転送の方法について記述しています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1908
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1909
すべてのX\&.509証明書は、署名の他に次のデータを含んでいます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1910
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1911
\fBバージョン\fR: 証明書に適用されるX\&.509規格のバージョンを特定します。証明書に指定できる情報は、バージョンによって異なります。今のところ、3つのバージョンが定義されています。\fBkeytool\fRコマンドでは、v1、v2、v3の証明書をインポートおよびエクスポートできます。v3の証明書を生成します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1912
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1913
X\&.509 Version 1は、1988年から利用されて広く普及しており、最も一般的です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1914
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1915
X\&.509 Version 2では、Subjectや発行者の名前をあとで再利用できるようにするために、Subjectと発行者の一意識別子の概念が導入されました。ほとんどの証明書プロファイル文書では、名前を再使用しないことと、証明書で一意の識別子を使用しないことが、強く推奨されています。Version 2の証明書は、広くは使用されていません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1916
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1917
X\&.509 Version 3は最も新しい(1996年)規格で、エクステンションの概念をサポートしています。エクステンションは誰でも定義することができ、証明書に含めることができます。一般的なエクステンションとしては、KeyUsage(\fB署名専用\fRなど、鍵の使用を特定の目的に制限する)、AlternativeNames(DNS名、電子メール・アドレス、IPアドレスなど、他のアイデンティティを公開鍵に関連付けることができる)などがあります。エクステンションには、criticalというマークを付けて、そのエクステンションのチェックと使用を義務づけることができます。たとえば、criticalとマークされ、\fBkeyCertSign\fRが設定されたKeyUsageエクステンションが証明書に含まれている場合、この証明書をSSL通信中に提示すると、証明書が拒否されます。これは、証明書のエクステンションによって、関連する秘密鍵が証明書の署名専用として指定されており、SSLでは使用できないためです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1918
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1919
\fBシリアル番号\fR: 証明書を作成したエンティティは、そのエンティティが発行する他の証明書と区別するために、証明書にシリアル番号を割り当てます。この情報は、様々な方法で使用されます。たとえば、証明書が取り消されると、シリアル番号が証明書失効リスト(CRL)に格納されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1920
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1921
\fB証明書アルゴリズム識別子\fR: 証明書に署名を付けるときにCAが使用したアルゴリズムを特定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1922
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1923
\fB発行者名\fR: 証明書に署名を付けたエンティティのX\&.500識別名です。X\&.500識別名を参照してください。通常はCAです。この証明書を使用することは、証明書に署名を付けたエンティティを信頼することを意味します。ルートつまりトップレベルのCAの証明書など、場合によっては発行者が自身の証明書に署名を付けることがあります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1924
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1925
\fB有効期間\fR: 各証明書は限られた期間のみ有効です。この期間は開始の日時と終了の日時によって指定され、数秒の短い期間から100年という長期にわたることもあります。選択される有効期間は、証明書への署名に使用される秘密鍵の強度や証明書に支払う金額など、様々な要因で異なります。有効期間は、関連する秘密鍵が損われない場合に、エンティティが公開鍵を信頼できると期待される期間です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1926
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1927
\fB主体名\fR: 証明書で公開鍵を認証するエンティティの名前。この名前はX\&.500標準を使用するので、インターネット全体で一意なものと想定されます。これは、エンティティのX\&.500識別名(DN)です。X\&.500識別名を参照してください。次に例を示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1928
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1929
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1930
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1931
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1932
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1933
\fBCN=Java Duke, OU=Java Software Division, O=Oracle Corporation, C=US\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1934
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1935
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1936
.if n \{\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1937
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1938
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1939
これらはそれぞれ主体の通称(CN)、組織単位(OU)、組織(O)、国(C)を表します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1940
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1941
\fB主体の公開鍵情報\fR: 名前を付けられたエンティティの公開鍵とアルゴリズム識別子です。アルゴリズム識別子では、公開鍵に対して使用されている公開鍵暗号化システムおよび関連する鍵パラメータが指定されています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1942
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1943
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1944
証明書チェーン
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1945
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1946
\fBkeytool\fRコマンドでは、秘密鍵および関連する証明書チェーンを含むキーストアの鍵エントリを作成し、管理することができます。このようなエントリでは、秘密鍵に対応する公開鍵は、チェーンの最初の証明書に含まれています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1947
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1948
鍵を初めて作成すると、自己署名証明書という1つの要素のみを含むチェーンが開始されます。コマンドの\fB\-genkeypair\fRを参照してください。自己署名証明書は発行者(署名者)が主体と同じです。主体は、その公開鍵が証明書によって認証されるエンティティです。\fB\-genkeypair\fRコマンドを呼び出して新しい公開鍵と秘密鍵のペアを作成すると、公開鍵は常に自己署名証明書でラップされます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1949
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1950
この後、証明書署名リクエスト(CSR)が\fB\-certreq\fRコマンドで生成されて、CSRが認証局(CA)に送信されると、CAからのレスポンスが\fB\-importcert\fRでインポートされ、元の自己署名証明書は証明書チェーンによって置き換えられます。\fBの\fR\-certreq\fBおよび\fR\-importcertコマンドオプションを参照してください。チェーンの最後にあるのは、Subjectの公開鍵を認証したCAが発行した証明書(応答)です。チェーン内のその前の証明書は、CAの公開鍵を認証する証明書です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1951
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1952
CAの公開鍵を認証する証明書は、多くの場合、自己署名証明書(つまりCAが自身の公開鍵を認証した証明書)であり、これはチェーンの最初の証明書になります。場合によっては、CAが証明書のチェーンを返すこともあります。この場合、チェーン内の最後の証明書(CAによって署名され、鍵エントリの公開鍵を認証する証明書)に変わりはありませんが、チェーン内のその前の証明書は、CSRの送信先のCAとは別のCAによって署名され、CSRの送信先のCAの公開鍵を認証する証明書になります。チェーン内のその前の証明書は、次のCAの鍵を認証する証明書になります。以下同様に、自己署名された「ルート」証明書に達するまでチェーンが続きます。したがって、チェーン内の(最初の証明書以後の)各証明書では、チェーン内の次の証明書の署名者の公開鍵が認証されていることになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1953
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1954
多くのCAは、チェーンをサポートせずに発行済の証明書のみを返します。特に、中間のCAが存在しないフラットな階層構造の場合は、その傾向が顕著です。このような場合は、キーストアにすでに格納されている信頼できる証明書情報から、証明書チェーンを確立する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1955
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1956
別の応答形式(PKCS#7で定義されている形式)では、発行済証明書に加え、証明書チェーンのサポートが含まれています。\fBkeytool\fRコマンドでは、どちらの応答形式も扱うことができます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1957
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1958
トップレベル(ルート)CAの証明書は、自己署名証明書です。ただし、ルートの公開鍵への信頼は、ルート証明書自体からではなく、新聞など他のソースから取得されます。これは、VeriSignルートCAなどの識別名を使用して、誰でも自己署名型証明書を生成できるためです。ルートCAの公開鍵は広く知られています。ルートCAの公開鍵を証明書に格納する理由は、証明書という形式にすることで多くのツールから利用できるようになるからにすぎません。つまり、証明書は、ルートCAの公開鍵を運ぶ「媒体」として利用されるのみです。ルートCAの証明書をキーストアに追加するときは、\fB\-printcert\fRオプションを使用して、その前に証明書の内容を表示し、表示されたフィンガープリントと、新聞やルートCAのWebページなどから入手した既知のフィンガープリントとを比較する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1959
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1960
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1961
cacerts証明書ファイル
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1962
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1963
\fBcacerts\fRという名前の証明書ファイルは、Windowsではセキュリティ・プロパティ・ディレクトリ\fBjava\&.home\elib\esecurity\fR、Oracle Solarisでは\fBjava\&.home/lib/security\fRに置かれています。\fBjava\&.home\fRは、実行環境のディレクトリ(SDKの\fBjre\fRディレクトリまたはJREの最上位ディレクトリ)です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1964
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1965
\fBcacerts\fRファイルは、CAの証明書を含む、システム全体のキーストアです。システム管理者は、キーストア・タイプに\fBjks\fRを指定することで、\fBkeytool\fRコマンドを使用してこのファイルの構成と管理を行うことができます。\fBcacerts\fRキーストア・ファイルは、ルートCA証明書のデフォルト・セットを含んだ状態で出荷されています。デフォルトの証明書を一覧表示するには、次のコマンドを使用します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1966
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1967
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1968
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1969
.\}
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1970
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1971
\fBkeytool \-list \-keystore java\&.home/lib/security/cacerts\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1972
 
9352
cabba0c0f3ee 7025070: man page localization broken in jdk7
ogino
parents: 5865
diff changeset
  1973
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1974
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1975
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1976
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1977
\fBcacerts\fRキーストア・ファイルの初期パスワードは、\fBchangeit\fRです。システム管理者は、SDKのインストール後、このファイルのパスワードとデフォルト・アクセス権を変更する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1978
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1979
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1980
\fBcacerts\fRファイルを確認することが重要です。\fBcacerts\fRファイル内のCAは、署名および他のエンティティへの証明書発行のためのエンティティとして信頼されるため、\fBcacerts\fRファイルの管理は慎重に行う必要があります。\fBcacerts\fRファイルには、信頼するCAの証明書のみが含まれている必要があります。ユーザーは、自身の責任において、\fBcacerts\fRファイルにバンドルされている信頼できるルートCA証明書を検証し、信頼性に関する独自の決定を行います。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1981
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1982
信頼できないCA証明書を\fBcacerts\fRファイルから削除するには、\fBkeytool\fRコマンドの\fBdelete\fRオプションを使用します。\fBcacerts\fRファイルはJREのインストール・ディレクトリにあります。このファイルを編集するアクセス権がない場合は、システム管理者に連絡してください
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1983
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1984
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1985
インターネットRFC 1421証明書符号化規格
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1986
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1987
多くの場合、証明書は、バイナリ符号化ではなく、インターネットRFC 1421規格で定義されている出力可能符号化方式を使用して格納されます。Base 64符号化とも呼ばれるこの証明書形式では、電子メールやその他の機構を通じて、他のアプリケーションに証明書を容易にエクスポートできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1988
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1989
\fB\-importcert\fRと\fB\-printcert\fRコマンドでは、この形式の証明書とバイナリ符号化の証明書を読み込むことができます。\fB\-exportcert\fRコマンドでは、デフォルトでバイナリ符号化の証明書が出力されます。ただし、\fB\-rfc\fRオプションを指定した場合は、出力可能符号化方式の証明書が出力されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1990
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1991
\fB\-list\fRコマンドでは、デフォルトで証明書のSHA1フィンガープリントが出力されます。\fB\-v\fRオプションが指定されている場合、証明書は人が理解できる形式で出力されます。\fB\-rfc\fRオプションが指定されている場合、証明書は出力可能符号化方式で出力されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1992
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1993
出力可能符号化方式で符号化された証明書は、次のテキストで始まり、次のテキストで終了します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1994
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1995
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1996
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  1997
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1998
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  1999
\fB\-\-\-\-\-BEGIN CERTIFICATE\-\-\-\-\-\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2000
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2001
\fBencoded certificate goes here\&. \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2002
 
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2003
\fB\-\-\-\-\-END CERTIFICATE\-\-\-\-\-\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2004
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2005
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2006
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2007
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2008
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2009
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2010
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2011
X\&.500識別名
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2012
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2013
X\&.500識別名は、エンティティを特定するために使用されます。たとえば、X\&.509証明書の\fBsubject\fRフィールドと\fBissuer\fR(署名者)フィールドで指定される名前は、X\&.500識別名です。\fBkeytool\fRコマンドは、次のサブパートをサポートしています。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2014
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2015
\fBcommonName\fR: Susan Jonesなど、人の通称。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2016
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2017
\fBorganizationUnit\fR: 小さな組織(部、課など)の名称。Purchasingなどです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2018
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2019
\fBlocalityName\fR: 地域(都市)名。Palo Altoなど。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2020
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2021
\fBstateName\fR: 州名または地方名。Californiaなど。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2022
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2023
\fBcountry\fR: 2文字の国コード。CHなど。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2024
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2025
識別名文字列を\fB\-dname\fRオプションの値として指定する場合(たとえば\fB\-genkeypair\fRコマンドに)、文字列は次の形式にする必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2026
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2027
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2028
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2029
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2030
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2031
\fBCN=cName, OU=orgUnit, O=org, L=city, S=state, C=countryCode\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2032
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2033
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2034
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2035
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2036
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2037
イタリックの項目は、実際に指定する値を表します。短縮形のキーワードの意味は、次のとおりです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2038
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2039
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2040
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2041
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2042
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2043
\fBCN=commonName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2044
\fBOU=organizationUnit\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2045
\fBO=organizationName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2046
\fBL=localityName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2047
\fBS=stateName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2048
\fBC=country\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2049
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2050
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2051
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2052
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2053
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2054
次に示すのは、識別名文字列の例です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2055
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2056
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2057
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2058
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2059
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2060
\fBCN=Mark Smith, OU=Java, O=Oracle, L=Cupertino, S=California, C=US\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2061
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2062
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2063
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2064
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2065
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2066
この文字列を使用したコマンドの例です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2067
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2068
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2069
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2070
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2071
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2072
\fBkeytool \-genkeypair \-dname "CN=Mark Smith, OU=Java, O=Oracle, L=Cupertino,\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2073
\fBS=California, C=US" \-alias mark\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2074
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2075
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2076
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2077
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2078
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2079
キーワードの短縮形では、大文字と小文字は区別されません。たとえば、CN、cnおよびCnは、どれも同じものとして扱われます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2080
.sp
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2081
一方、キーワードの指定順序には意味があり、各サブコンポーネントは上に示した順序で指定する必要があります。ただし、サブコンポーネントをすべて指定する必要はありません。たとえば、次のように一部のサブコンポーネントのみを指定できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2082
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2083
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2084
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2085
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2086
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2087
\fBCN=Steve Meier, OU=Java, O=Oracle, C=US\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2088
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2089
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2090
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2091
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2092
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2093
識別名文字列の値にカンマが含まれる場合に、コマンド行で文字列を指定するときには、次のようにカンマをバックスラッシュ文字(\e)でエスケープする必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2094
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2095
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2096
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2097
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2098
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2099
\fBcn=Peter Schuster, ou=Java\e, Product Development, o=Oracle, c=US\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2100
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2101
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2102
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2103
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2104
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2105
識別名文字列をコマンド行で指定する必要はありません。識別名を必要とするコマンドを実行するときに、コマンド行で識別名を指定しなかった場合は、各サブコンポーネントの入力を求められます。この場合は、カンマをバックスラッシュ(\e)でエスケープする必要はありません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2106
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2107
.SH "警告"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2108
.SS "信頼できる証明書のインポート警告"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2109
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2110
\fB重要\fR: 信頼できる証明書として証明書をインポートする前に、証明書の内容を慎重に調べてください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2111
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2112
Windowsの例:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2113
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2114
まず、\fB\-noprompt\fRオプションを指定せずに\fB\-printcert\fRコマンドまたは\fB\-importcert\fRコマンドを使用して、証明書を表示します。表示された証明書のフィンガープリントが、期待されるフィンガープリントと一致することを確認します。たとえば、証明書が送られてきて、この証明書を\fB\etmp\ecert\fRという名前でファイルに格納しているとします。この場合は、信頼できる証明書のリストにこの証明書を追加する前に、\fB\-printcert\fRコマンドを実行してフィンガープリントを表示できます。たとえば、次のようにします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2115
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2116
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2117
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2118
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2119
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2120
\fB  keytool \-printcert \-file \etmp\ecert\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2121
\fB    Owner: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2122
\fB    Issuer: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2123
\fB    Serial Number: 59092b34\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2124
\fB    Valid from: Thu Sep 25 18:01:13 PDT 1997 until: Wed Dec 24 17:01:13 PST 1997\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2125
\fB    Certificate Fingerprints:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2126
\fB         MD5:  11:81:AD:92:C8:E5:0E:A2:01:2E:D4:7A:D7:5F:07:6F\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2127
\fB         SHA1: 20:B6:17:FA:EF:E5:55:8A:D0:71:1F:E8:D6:9D:C0:37:13:0E:5E:FE\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2128
\fB         SHA256: 90:7B:70:0A:EA:DC:16:79:92:99:41:FF:8A:FE:EB:90:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2129
\fB                 17:75:E0:90:B2:24:4D:3A:2A:16:A6:E4:11:0F:67:A4\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2130
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2131
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2132
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2133
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2134
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2135
Oracle Solarisの例:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2136
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2137
まず、\fB\-noprompt\fRオプションを指定せずに\fB\-printcert\fRコマンドまたは\fB\-importcert\fRコマンドを使用して、証明書を表示します。表示された証明書のフィンガープリントが、期待されるフィンガープリントと一致することを確認します。たとえば、あるユーザーから証明書が送られてきて、この証明書を\fB/tmp/cert\fRという名前でファイルに格納しているとします。この場合は、信頼できる証明書のリストにこの証明書を追加する前に、\fB\-printcert\fRコマンドを実行してフィンガープリントを表示できます。たとえば、次のようにします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2138
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2139
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2140
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2141
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2142
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2143
\fB  keytool \-printcert \-file /tmp/cert\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2144
\fB    Owner: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2145
\fB    Issuer: CN=ll, OU=ll, O=ll, L=ll, S=ll, C=ll\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2146
\fB    Serial Number: 59092b34\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2147
\fB    Valid from: Thu Sep 25 18:01:13 PDT 1997 until: Wed Dec 24 17:01:13 PST 1997\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2148
\fB    Certificate Fingerprints:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2149
\fB         MD5:  11:81:AD:92:C8:E5:0E:A2:01:2E:D4:7A:D7:5F:07:6F\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2150
\fB         SHA1: 20:B6:17:FA:EF:E5:55:8A:D0:71:1F:E8:D6:9D:C0:37:13:0E:5E:FE\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2151
\fB         SHA256: 90:7B:70:0A:EA:DC:16:79:92:99:41:FF:8A:FE:EB:90:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2152
\fB                 17:75:E0:90:B2:24:4D:3A:2A:16:A6:E4:11:0F:67:A4\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2153
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2154
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2155
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2156
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2157
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2158
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2159
次に、証明書を送信した人物に連絡し、この人物が提示したフィンガープリントと、上のコマンドで表示されたフィンガープリントとを比較します。フィンガープリントが一致すれば、送信途中で他の何者か(攻撃者など)による証明書のすり替えが行われていないことを確認できます。送信途中でこの種の攻撃が行われていた場合、チェックを行わずに証明書をインポートすると、攻撃者によって署名されたすべてのもの(攻撃的意図を持つクラス・ファイルを含んだJARファイルなど)を信頼することになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2160
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2161
\fB注意:\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2162
証明書をインポートする前に\fB\-printcert\fRコマンドを実行する必要はありません。キーストア内の信頼できる証明書のリストに証明書を追加する前に、\fB\-importcert\fRコマンドによって証明書の情報が表示され、確認を求めるメッセージが表示されるためです。ユーザーはインポート操作を停止できます。ただし、これを実行できるのは、\fB\-noprompt\fRオプションを指定せずに\fB\-importcert\fRコマンドを呼び出す場合のみです。\fB\-noprompt\fRオプションが指定されている場合、ユーザーとの対話は行われません。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2163
.SS "パスワード警告"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2164
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2165
キーストアに対する操作を行うほとんどのコマンドでは、ストアのパスワードが必要です。また、一部のコマンドでは、非公開/秘密鍵のパスワードが必要になることがあります。パスワードはコマンド行で指定できます(\fB\-storepass\fRオプションと\fB\-keypass\fRオプションを使用)。ただし、テスト目的の場合、またはセキュアなシステムを使用している場合以外は、コマンド行やスクリプトでパスワードを指定しないでください。必要なパスワードのオプションをコマンド行で指定しなかった場合は、パスワードの入力を求められます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2166
.SS "証明書の準拠に関する警告"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2167
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2168
インターネット標準RFC 5280では、X\&.509証明書の準拠に関するプロファイルが定義されており、証明書のフィールドおよびエクステンションに有効な値および値の組合せが記載されています。標準については、
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2169
http://tools\&.ietf\&.org/rfc/rfc5280\&.txtを参照してください
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2170
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2171
\fBkeytool\fRコマンドでは、これらのルールすべてが適用されるわけではないため、標準に準拠しない証明書を生成できます。標準に準拠しない証明書は、JREや他のアプリケーションで拒否されることがあります。ユーザーは、\fB\-dname\fRや\fB\-ext\fRなどで適正なオプションを指定するようにしてください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2172
.SH "注意"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2173
.SS "新しい信頼できる証明書のインポート"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2174
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2175
\fBkeytool\fRコマンドは、キーストアに証明書を追加する前に、キーストア内にすでに存在する信頼できる証明書を使用して、インポートする証明書から(ルートCAの)自己署名証明書に至るまでの信頼のチェーンの構築を試みます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2176
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2177
\fB\-trustcacerts\fRオプションを指定した場合、追加の証明書は信頼できるすなわち\fBcacerts\fRという名前のファイルに含まれる証明書のチェーンとみなされます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2178
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2179
\fBkeytool\fRコマンドが、インポートする証明書から自己署名証明書(キーストアまたは\fBcacerts\fRファイルに含まれている自己署名証明書)に至るまでの信頼のパスの構築に失敗した場合は、インポートする証明書の情報を表示し、ユーザーに確認を求めます。この場合は、表示された証明書のフィンガープリントと、他のなんらかの(信頼できる)情報源(証明書の所有者など)から入手したフィンガープリントとを比較します。信頼できる証明書として証明書をインポートするときは、証明書が有効であることを慎重に確認する必要があります。信頼できる証明書のインポート警告を参照してください。インポート操作は、証明書を確認する時点で中止できます。\fB\-noprompt\fRオプションが指定されている場合、ユーザーとの対話は行われません。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2180
.SS "証明書応答のインポート"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2181
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2182
証明書応答をインポートするときは、キーストア内の信頼できる証明書、および(\fB\-trustcacert\fR\fBs\fRオプションが指定されている場合は)\fBcacerts\fRキーストア・ファイルで構成された証明書を使用して証明書応答が検査されます。cacerts証明書ファイルを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2183
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2184
証明書応答が信頼できるかどうかを決定する方法は次のとおりです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2185
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2186
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2187
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2188
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2189
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2190
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2191
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2192
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2193
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2194
証明書応答が単一のX\&.509証明書である場合、\fBkeytool\fRコマンドは、証明書応答から(ルートCAの)自己署名証明書に至るまでの信頼チェーンの確立を試みます。証明書応答と、証明書応答の認証に使用される証明書の階層構造は、aliasの新しい証明書チェーンを形成します。信頼チェーンが確立されない場合、証明書応答はインポートされません。この場合、\fBkeytool\fRコマンドは証明書を出力せず、ユーザーに検証を求めるプロンプトを表示します。ユーザーが証明書応答の信頼性を判断するのは非常に難しいためです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2195
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2196
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2197
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2198
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2199
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2200
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2201
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2202
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2203
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2204
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2205
証明書応答がPKCS#7形式の証明書チェーンまたは一連のX\&.509証明書である場合、チェーンは、ユーザーの証明書が最初に、0以上のCA証明書がその次にくるように並べられます。チェーンが自己署名のルートCA証明書で終わり、\fB \-trustcacerts\fRオプションが指定されている場合、\fBkeytool\fRコマンドは、その証明書と、キーストア内または\fBcacerts\fRキーストア・ファイル内の信頼できるすべての証明書を照合しようとします。チェーンが自己署名のルートCA証明書で終わっておらず、\fB\-trustcacerts\fRオプションが指定されている場合、\fBkeytool\fRコマンドは、キーストア内または\fBcacerts\fRキーストア・ファイル内の信頼できる証明書から自己署名のルートCA証明書を見つけてそれをチェーンの末尾に追加しようとします。その証明書が見つからず、\fB\-noprompt\fRオプションが指定されていない場合は、チェーン内の最後の証明書の情報が出力され、ユーザーは確認を求められます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2206
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2207
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2208
証明書応答内の公開鍵が\fBalias\fRですでに格納されているユーザーの公開鍵に一致した場合、古い証明書チェーンが応答内の新しい証明書チェーンで置き換えられます。以前の証明書チェーンを有効な\fBkeypass\fRで置き換えることができるのは、エントリの秘密鍵を保護するためのパスワードを指定した場合のみです。パスワードを指定しておらず、秘密鍵のパスワードがキーストアのパスワードと異なる場合は、秘密鍵のパスワードの入力を求められます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2209
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2210
このコマンドは、以前のリリースでは\fB\-import\fRという名前でした。このリリースでは、引き続き古い名前がサポートされています。今後は、新しい名前\fB\-importcert\fRが優先されます。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2211
.SH "関連項目"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2212
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2213
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2214
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2215
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2216
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2217
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2218
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2219
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2220
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2221
jar(1)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2222
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2223
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2224
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2225
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2226
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2227
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2228
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2229
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2230
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2231
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2232
jarsigner(1)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2233
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2234
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2235
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2236
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2237
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2238
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2239
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2240
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2241
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2242
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2243
http://docs\&.oracle\&.com/javase/tutorial/security/index\&.htmlにある
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
  2244
「コース: Java SEのセキュリティ機能」
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  2245
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2246
.br
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2247
'pl 8.5i
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9734
diff changeset
  2248
'bp