-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add configuration for automatic OCSP responder configuration (fixes #102
- Loading branch information
1 parent
9fd2d25
commit c31a4b6
Showing
21 changed files
with
322 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
ca/django_ca/migrations/0032_certificateauthority_ocsp_responder_key_validity_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 4.2.3 on 2023-07-16 11:01 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("django_ca", "0031_certificateauthority_sign_certificate_policies"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="certificateauthority", | ||
name="ocsp_responder_key_validity", | ||
field=models.PositiveSmallIntegerField( | ||
default=3, | ||
help_text="How long <strong>(in days)</strong> OCSP responder keys may be valid.", | ||
validators=[django.core.validators.MinValueValidator(1)], | ||
verbose_name="OCSP responder key validity", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="certificateauthority", | ||
name="ocsp_response_validity", | ||
field=models.PositiveIntegerField( | ||
default=86400, | ||
help_text="How long <strong>(in seconds)</strong> OCSP responses may be considered valid by the client.", | ||
validators=[django.core.validators.MinValueValidator(600)], | ||
verbose_name="OCSP response validity", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.