Update epp.php
This commit is contained in:
parent
002d0cfa54
commit
2238371fa6
1 changed files with 8 additions and 8 deletions
16
epp.php
16
epp.php
|
@ -78,18 +78,18 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
||||||
'required' => true,
|
'required' => true,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'ssl_cert' => array('textarea', array(
|
'ssl_cert' => array('text', array(
|
||||||
'label' => 'SSL Certificate',
|
'label' => 'SSL Certificate Path',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'ssl_key' => array('textarea', array(
|
'ssl_key' => array('text', array(
|
||||||
'label' => 'SSL Key',
|
'label' => 'SSL Key Path',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'ssl_ca' => array('textarea', array(
|
'ssl_ca' => array('text', array(
|
||||||
'label' => 'SSL CA',
|
'label' => 'SSL CA Path',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -1234,8 +1234,8 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
||||||
'verify_peer_name' => false,
|
'verify_peer_name' => false,
|
||||||
'verify_host' => false,
|
'verify_host' => false,
|
||||||
'allow_self_signed' => true,
|
'allow_self_signed' => true,
|
||||||
'local_cert' => 'cert.pem',
|
'local_cert' => $this->config['ssl_cert'],
|
||||||
'local_pk' => 'key.pem'
|
'local_pk' => $this->config['ssl_key']
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$context = stream_context_create($opts);
|
$context = stream_context_create($opts);
|
||||||
|
|
Loading…
Reference in a new issue