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
0bce6d0c
Commit
0bce6d0c
authored
Mar 13, 2014
by
ale
Browse files
drop the critical bit on some X509 extensions
parent
f4abbe60
Changes
1
Hide whitespace changes
Inline
Side-by-side
autoca/ca.py
View file @
0bce6d0c
...
...
@@ -74,9 +74,9 @@ class CA(object):
crypto
.
X509Extension
(
'keyUsage'
,
True
,
'%sdigitalSignature, keyEncipherment'
%
(
server
and
''
or
'nonRepudiation, '
)),
crypto
.
X509Extension
(
'extendedKeyUsage'
,
Tru
e
,
crypto
.
X509Extension
(
'extendedKeyUsage'
,
Fals
e
,
server
and
'serverAuth'
or
'clientAuth'
),
crypto
.
X509Extension
(
'nsCertType'
,
Tru
e
,
crypto
.
X509Extension
(
'nsCertType'
,
Fals
e
,
server
and
'server'
or
'client'
),
]
cert
=
certutil
.
sign_certificate
(
...
...
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