Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
autoca
Commits
0bce6d0c
Commit
0bce6d0c
authored
Mar 13, 2014
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop the critical bit on some X509 extensions
parent
f4abbe60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
autoca/ca.py
autoca/ca.py
+2
-2
No files found.
autoca/ca.py
View file @
0bce6d0c
...
@@ -74,9 +74,9 @@ class CA(object):
...
@@ -74,9 +74,9 @@ class CA(object):
crypto
.
X509Extension
(
'keyUsage'
,
True
,
crypto
.
X509Extension
(
'keyUsage'
,
True
,
'%sdigitalSignature, keyEncipherment'
%
(
'%sdigitalSignature, keyEncipherment'
%
(
server
and
''
or
'nonRepudiation, '
)),
server
and
''
or
'nonRepudiation, '
)),
crypto
.
X509Extension
(
'extendedKeyUsage'
,
Tru
e
,
crypto
.
X509Extension
(
'extendedKeyUsage'
,
Fals
e
,
server
and
'serverAuth'
or
'clientAuth'
),
server
and
'serverAuth'
or
'clientAuth'
),
crypto
.
X509Extension
(
'nsCertType'
,
Tru
e
,
crypto
.
X509Extension
(
'nsCertType'
,
Fals
e
,
server
and
'server'
or
'client'
),
server
and
'server'
or
'client'
),
]
]
cert
=
certutil
.
sign_certificate
(
cert
=
certutil
.
sign_certificate
(
...
...
Write
Preview
Markdown
is supported
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