mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #48080 from lusche/2017.7
Bugfix #47984 messed up cert serial
This commit is contained in:
commit
83d7d286c4
@ -942,7 +942,6 @@ def create_crl( # pylint: disable=too-many-arguments,too-many-locals
|
||||
rev_item['not_after'] = rev_cert['Not After']
|
||||
|
||||
serial_number = rev_item['serial_number'].replace(':', '')
|
||||
serial_number = str(int(serial_number, 16))
|
||||
|
||||
if 'not_after' in rev_item and not include_expired:
|
||||
not_after = datetime.datetime.strptime(
|
||||
|
Loading…
Reference in New Issue
Block a user