Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
b3e846cc
Commit
b3e846cc
authored
Nov 07, 2018
by
Andrea Manzi
Browse files
FTS-1320
: use get_datetime to extract cert validity
parent
3ad071ac
Pipeline
#576176
passed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/fts3/rest/client/context.py
View file @
b3e846cc
...
...
@@ -97,7 +97,7 @@ class Context(object):
self
.
x509
=
self
.
x509_list
[
0
]
not_after
=
self
.
x509
.
get_not_after
()
try
:
not_after
=
not_after
.
get_time
()
not_after
=
not_after
.
get_
date
time
()
except
:
# Ugly hack for Python 2.4
import
time
...
...
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