Skip to content

Commit 09aeee9

Browse files
authored
Added disableFreeSan in renew
Testing if we can use disableFreeSan in a reissue request (it's not documented).
1 parent f386727 commit 09aeee9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)