metaregistrar / php-epp-client

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

Unable to set local cert chain file #285

Closed bavarianboy closed 3 years ago

bavarianboy commented 3 years ago

I can't open the connection as SSL after adding the key file and i got this error which makes the connection closes

PHP Warning: stream_socket_client(): Unable to set local cert chain file `/var/www/html/php-epp-client-master/Examples/registrar.key'; Check that your cafile/capath settings include details of your certificate and its issuer in /var/www/html/php-epp-client-master/Protocols/EPP/eppConnection.php on line 359 PHP Warning: stream_socket_client(): Failed to enable crypto in /var/www/html/php-epp-client-master/Protocols/EPP/eppConnection.php on line 359 PHP Warning: stream_socket_client(): unable to connect to tls://epp.sandbox.nic.sa:700 (Unknown error) in /var/www/html/php-epp-client-master/Protocols/EPP/eppConnection.php on line 359 Writing while no connection is made is not supported.

==== LOG ==== -----ERROR-----2020-09-21 13:11:07----- Connection could not be opened: 0 -----END-----2020-09-21 13:11:07-----