Skip to content

Commit 6027a95

Browse files
authored
Merge pull request #1 from dtsander/disableFreeSan-test
Disable free san in renew and reissue
2 parents 554c2e6 + 09aeee9 commit 6027a95

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

xolphin/certificate_requests/reissue_certificate_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ def __init__(self, csr, dcv_type):
1919
self.kvk = ''
2020
self.reference = ''
2121
self.language = ''
22+
self.disable_free_san = False
2223

2324
def toDict(self):
2425
result = {
2526
'csr': self.csr,
2627
'dcvType': self.dcv_type,
28+
'disableFreeSan': int(self.disable_free_san), # int cast is a workaround, booleans don't work here.
2729
}
2830

2931
if len(self.subject_alternative_names) > 0: result['subjectAlternativeNames'] = ','.join(self.subject_alternative_names)

xolphin/certificate_requests/renew_certificate_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ def __init__(self, product, years, csr, dcv_type):
2121
self.kvk = ''
2222
self.reference = ''
2323
self.language = ''
24+
self.disable_free_san = False
2425

2526
def toDict(self):
2627
result = {
2728
'product': self.product,
2829
'years': self.years,
2930
'csr': self.csr,
3031
'dcvType': self.dcv_type,
32+
'disableFreeSan': int(self.disable_free_san), # int cast is a workaround, booleans don't work here.
3133
}
3234

3335
if len(self.subject_alternative_names) > 0: result['subjectAlternativeNames'] = ','.join(self.subject_alternative_names)

0 commit comments

Comments
 (0)