Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
autoca
Commits
693fd5e3
Commit
693fd5e3
authored
Jan 08, 2012
by
ale
Browse files
make it possible to specify the format in which to retrieve the crl
parent
b2cead60
Changes
1
Show whitespace changes
Inline
Side-by-side
autoca/ca_tool.py
View file @
693fd5e3
...
...
@@ -51,7 +51,10 @@ def main():
if
cmd
==
'get-ca'
:
writeout
(
opts
.
output
,
ca
.
get_ca
())
elif
cmd
==
'get-crl'
:
writeout
(
opts
.
output
,
ca
.
get_crl
(
format
=
'pem'
))
fmt
=
'pem'
if
args
:
fmt
=
args
[
0
].
lower
()
writeout
(
opts
.
output
,
ca
.
get_crl
(
format
=
fmt
))
elif
cmd
==
'sign'
:
if
not
opts
.
subject
:
parser
.
error
(
'Must specify --subject'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment