metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
210 stars 153 forks source link

iisEppConnection problems #290

Closed twanakker closed 3 years ago

twanakker commented 3 years ago

Hello,

When using iisEppConnection, things don't work; 'Error writing content'

using this ini;

interface=iisEppConnection certificatefile=/path/to/keyStore.pem certificatepassword=password hostname=ssl://epp.iis.nu port=700 userid=eppUSER password=eppPASS logging=true verifypeer=false verifypeername=false allowselfsigned=false

I can telnet to the epp.iis.nu port 700, so firewall is not the issue. Any idea?

==== LOG ==== -----Connection made-----2020-12-02 10:23:33----- Stream opened with protocol TLSv1.2, cipher ECDHE-RSA-AES256-GCM-SHA384, 256 bits TLSv1.2 -----END-----2020-12-02 10:23:33-----

-----WRITE-----2020-12-02 10:23:43----- <?xml version="1.0" encoding="UTF-8"?>

eppUSER 1.0 en urn:ietf:params:xml:ns:domain-1.0 urn:ietf:params:xml:ns:contact-1.0 urn:ietf:params:xml:ns:host-1.0 urn:ietf:params:xml:ns:secDNS-1.1 urn:se:iis:xml:epp:iis-1.2 5fc75d1f0b26a

-----END-----2020-12-02 10:23:43-----

-----DISCONNECT-----2020-12-02 10:23:43----- Disconnected -----END-----2020-12-02 10:23:43-----

twanakker commented 3 years ago

Never mind, the SSL file was wrong.