Skip to content

Commit f386727

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-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)

0 commit comments

Comments
 (0)