Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
d199858e
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
8 个月 前同步成功
通知
8
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d199858e
编写于
1月 11, 2001
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
New -newreq-nodes option to CA.pl.
Submitted by: Damien Miller <djm@mindrot.org>
上级
10a2975a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
3 deletion
+18
-3
CHANGES
CHANGES
+5
-0
apps/CA.pl.in
apps/CA.pl.in
+8
-3
doc/apps/CA.pl.pod
doc/apps/CA.pl.pod
+5
-0
未找到文件。
CHANGES
浏览文件 @
d199858e
...
...
@@ -3,6 +3,11 @@
Changes between 0.9.6 and 0.9.7 [xx XXX 2000]
*) New '-newreq-nodes' command option to CA.pl. This is like
'-newreq', but calls 'openssl req' with the '-nodes' option
so that the resulting key is not encrypted.
[Damien Miller <djm@mindrot.org>]
*) New configuration for the GNU Hurd.
[Jonathan Bartlett <johnnyb@wolfram.com> via Richard Levitte]
...
...
apps/CA.pl.in
浏览文件 @
d199858e
...
...
@@ -5,7 +5,7 @@
# things easier between now and when Eric is convinced to fix it :-)
#
# CA -newca ... will setup the right stuff
# CA -newreq ... will generate a certificate request
# CA -newreq
[-nodes]
... will generate a certificate request
# CA -sign ... will sign the generated request and output
#
# At the end of that grab newreq.pem and newcert.pem (one has the key
...
...
@@ -54,7 +54,7 @@ $RET = 0;
foreach
(
@ARGV
)
{
if
(
/^(-\?|-h|-help)$/
)
{
print
STDERR
"
usage: CA -newcert|-newreq|-newca|-sign|-verify
\n
";
print
STDERR
"
usage: CA -newcert|-newreq|-new
req-nodes|-new
ca|-sign|-verify
\n
";
exit
0
;
}
elsif
(
/^-newcert$/
)
{
# create a certificate
...
...
@@ -66,6 +66,11 @@ foreach (@ARGV) {
system
("
$REQ
-new -keyout newreq.pem -out newreq.pem
$DAYS
");
$RET
=
$?
;
print
"
Request (and private key) is in newreq.pem
\n
";
}
elsif
(
/^-newreq-nodes$/
)
{
# create a certificate request
system
("
$REQ
-new -nodes -keyout newreq.pem -out newreq.pem
$DAYS
");
$RET
=
$?
;
print
"
Request (and private key) is in newreq.pem
\n
";
}
elsif
(
/^-newca$/
)
{
# if explicitly asked for or it doesn't exist then setup the
# directory structure that Eric likes to manage things
...
...
@@ -143,7 +148,7 @@ foreach (@ARGV) {
}
}
else
{
print
STDERR
"
Unknown arg
$_
\n
";
print
STDERR
"
usage: CA -newcert|-newreq|-newca|-sign|-verify
\n
";
print
STDERR
"
usage: CA -newcert|-newreq|-new
req-nodes|-new
ca|-sign|-verify
\n
";
exit
1
;
}
}
...
...
doc/apps/CA.pl.pod
浏览文件 @
d199858e
...
...
@@ -13,6 +13,7 @@ B<CA.pl>
[B<-help>]
[B<-newcert>]
[B<-newreq>]
[B<-newreq-nodes>]
[B<-newca>]
[B<-xsign>]
[B<-sign>]
...
...
@@ -46,6 +47,10 @@ written to the file "newreq.pem".
creates a new certificate request. The private key and request are
written to the file "newreq.pem".
=item B<-newreq-nowdes>
is like B<-newreq> except that the private key will not be encrypted.
=item B<-newca>
creates a new CA hierarchy for use with the B<ca> program (or the B<-signcert>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录