Skip to content

Commit

Permalink
Allow RSA keys as private key for a certificate (#638)
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Hendrickson <github@jaredhendrickson.com>
  • Loading branch information
mj84 and jaredhendrickson13 authored Jan 9, 2025
1 parent a030b4e commit 3734953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Certificate extends Model {
$this->prv = new Base64Field(
required: true,
sensitive: true,
validators: [new X509Validator(allow_prv: true, allow_ecprv: true)],
validators: [new X509Validator(allow_prv: true, allow_ecprv: true, allow_rsa: true)],
help_text: 'The X509 private key string.',
);

Expand Down

0 comments on commit 3734953

Please sign in to comment.