From 2238371fa6cb610c76cb6b4ac7bfa3a8922b5e07 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Thu, 13 Jul 2023 10:35:39 +0300 Subject: [PATCH] Update epp.php --- epp.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/epp.php b/epp.php index 3254e89..382d298 100644 --- a/epp.php +++ b/epp.php @@ -78,18 +78,18 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract 'required' => true, ), ), - 'ssl_cert' => array('textarea', array( - 'label' => 'SSL Certificate', + 'ssl_cert' => array('text', array( + 'label' => 'SSL Certificate Path', 'required' => true, ), ), - 'ssl_key' => array('textarea', array( - 'label' => 'SSL Key', + 'ssl_key' => array('text', array( + 'label' => 'SSL Key Path', 'required' => true, ), ), - 'ssl_ca' => array('textarea', array( - 'label' => 'SSL CA', + 'ssl_ca' => array('text', array( + 'label' => 'SSL CA Path', 'required' => false, ), ), @@ -1234,8 +1234,8 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract 'verify_peer_name' => false, 'verify_host' => false, 'allow_self_signed' => true, - 'local_cert' => 'cert.pem', - 'local_pk' => 'key.pem' + 'local_cert' => $this->config['ssl_cert'], + 'local_pk' => $this->config['ssl_key'] ) ); $context = stream_context_create($opts);