mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: store EPP keys in files
This commit is contained in:
@@ -6,15 +6,15 @@ final class EppClientProviderAuthSSLDto
|
||||
{
|
||||
public ?string $peer_name = null;
|
||||
|
||||
public ?bool $verify_peer = null;
|
||||
public bool $verify_peer = true;
|
||||
|
||||
public ?bool $verify_peer_name = null;
|
||||
public bool $verify_peer_name = true;
|
||||
|
||||
public ?bool $allow_self_signed = null;
|
||||
public bool $allow_self_signed = false;
|
||||
|
||||
public ?int $verify_depth = null;
|
||||
|
||||
public ?string $passphrase = null;
|
||||
|
||||
public ?bool $disable_compression = null;
|
||||
public bool $disable_compression = false;
|
||||
}
|
||||
|
||||
@@ -44,9 +44,7 @@ final class EppClientProviderDto extends DefaultProviderDto
|
||||
])]
|
||||
public array $objURI = [];
|
||||
|
||||
public ?string $certificate_pem = null;
|
||||
public ?string $file_certificate_pem = null;
|
||||
|
||||
public ?string $certificate_key = null;
|
||||
|
||||
public ?EppClientProviderFilesDto $files;
|
||||
public ?string $file_certificate_key = null;
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Dto\Connector;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
final class EppClientProviderFilesDto
|
||||
{
|
||||
#[Assert\NotBlank]
|
||||
public string $pem;
|
||||
|
||||
#[Assert\NotBlank]
|
||||
public string $key;
|
||||
}
|
||||
Reference in New Issue
Block a user