epp

PHP TCP connection to EPP API using SSL certificate authentication

≡放荡痞女 提交于 2021-02-10 07:27:17
问题 I have tried this upwards and backwards without any success. The national domain registry department has decided to change their entire system to EPP. Their documentation is very poor but to summarize: Connection via TCP: epptest.ficora.fi port 700 To whitelist for firewall, add IP address and SSL certificate to user account on dashboard (done that) The dashboard is a total mess. I cannot upload the same certificate to different users, I can't remove users etc. Anyhow, you are supposed to

centralnic PHP EPP library - login frame

时间秒杀一切 提交于 2021-02-08 07:41:07
问题 I am trying to use CentralNic PHP EPP library to interact with Nominet EPP. It is clear how to genrate command frames using Net_EPP_Frame_Command class For instance, $frame = new Net_EPP_Frame_Command("check", "host"); $frame->addObjectProperty("name", "ns1.example.com"); $frame->addObjectProperty("name", "ns2.example.com"); $frame->addObjectProperty("name", "ns3.example.com"); $client->sendFrame($frame->saveXML()); The result is <?xml version="1.0"?> <epp xmlns="urn:ietf:params:xml:ns:epp-1

Connecting to domain registry EPP server

纵然是瞬间 提交于 2020-01-16 04:34:08
问题 I'm getting my sea legs and need some pointers and a small sample of code that connects to an epp server. The sample of code need to login and send one command and receive a response.(in XML). Code can be in php or python. This I believe will form a basis/kickstart for me to delve in further and learn more about this topic. It's driving me up the wall - in a good way as I want to solve it in one day or a thousand. And I have been searching for days now but can't seem to make sense of the info

ssl socket communicatoin to an epp server

落花浮王杯 提交于 2019-12-25 16:43:59
问题 tI'm implementing a client in java that comunicates to an EPP server via TCP and SSL. I nead to send some xml-s to the server via SSL an read some xml responses. I dont have a client certificate and I dont nead one. I just nead to be able to send requests to that server and read responses. Im quite new to this topic. My code is this : SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); SSLSocket sslsocket = (SSLSocket) sslsocketfactory.createSocket("server

ssl socket communicatoin to an epp server

落爺英雄遲暮 提交于 2019-12-25 16:43:08
问题 tI'm implementing a client in java that comunicates to an EPP server via TCP and SSL. I nead to send some xml-s to the server via SSL an read some xml responses. I dont have a client certificate and I dont nead one. I just nead to be able to send requests to that server and read responses. Im quite new to this topic. My code is this : SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); SSLSocket sslsocket = (SSLSocket) sslsocketfactory.createSocket("server

SimpleXML is not parsing my epp XML messages

安稳与你 提交于 2019-12-25 04:22:22
问题 I am trying to extract information out of a return xml epp messages from SIDN But i am not abbel to get some of the variables out of this messages. I manage to get the result code and messages. $domaininfo = xml messages that can be seen at : http://pastebin.com/HbXMkdD3 $xml = new SimpleXMLElement($domeininfo); // check result code if (isset($xml->response->result)) { foreach($xml->response->result->attributes() as $name => $value) { if ($name === 'code') { $code = $value; } } } if ($code ==

Error with fsockopen() and SSL, 'Failed to enable crypto'

走远了吗. 提交于 2019-12-22 18:39:12
问题 I am trying to connect to the Nominet EPP test bed, but I am receiving a 'Failed to enable crypto' which seems to be a rare error with no documented solution or cause. With the line: $socket = fsockopen('ssl://testbed-epp.nominet.org.uk', 700, $errno, $errst, 10); The exact error I am getting is: Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /path/classes/nominet_epp.class.php on line 53 Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://testbed-epp

Client certificate on EPP Call

心已入冬 提交于 2019-12-11 10:10:13
问题 I am trying to use free client certificate by cacert.org in curl call. check following... $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://url.com'); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_SSLCERT, 'cert.crt'); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml')); curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);

Error with fsockopen() and SSL, 'Failed to enable crypto'

假如想象 提交于 2019-12-06 07:32:47
I am trying to connect to the Nominet EPP test bed, but I am receiving a 'Failed to enable crypto' which seems to be a rare error with no documented solution or cause. With the line: $socket = fsockopen('ssl://testbed-epp.nominet.org.uk', 700, $errno, $errst, 10); The exact error I am getting is: Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /path/classes/nominet_epp.class.php on line 53 Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://testbed-epp.nominet.org.uk:700 (Unknown error) in /path/classes/nominet_epp.class.php on line 53 As far as I can