Skip to content

Commit

Permalink
fix: do not require CertificateAuthority's prv field #605
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed Dec 14, 2024
1 parent eba6105 commit d940dcd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class CertificateAuthority extends Model {
help_text: 'The X509 certificate string.',
);
$this->prv = new Base64Field(
required: true,
default: null,
allow_null: true,
sensitive: true,
validators: [new X509Validator(allow_prv: true, allow_ecprv: true)],
help_text: 'The X509 private key string.',
Expand Down

0 comments on commit d940dcd

Please sign in to comment.