metaregistrar / php-epp-client

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

TLS versions #101

Closed tuimz closed 6 years ago

tuimz commented 6 years ago

Hi,

I am getting an error Error 2100: TLSv1 is no longer supported, please update to TLS1.2 or higher

I have tried to increase the TLS version by setting curl_setopt ($ch, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); in eppHttpsConnection.php but that didn't solve it.

Any ideas? We are using PHP5.6, cURL version 7.29.0

metaregistrar commented 6 years ago

With which registry do you get this error?

The code in eppHttpsConnection is only used for those registries that use EPP over HTTPS, where most registries have a direct EPP socket connection, no curl involved.

tuimz commented 6 years ago

I see, we are using SIDN. Connection is configured to tls://drs.domain-registry.nl port 700

metaregistrar commented 6 years ago

I have no problem connecting to SIDN, but i use ssl://drs.domain-registry.nl

metaregistrar commented 6 years ago

Have tried using tls://drs.domain-registry.nl and i get the same error, will try to fix this.

tuimz commented 6 years ago

It would be no problem for me to use ssl:// did you use port 443 in this case or?

metaregistrar commented 6 years ago

no, always port 700

tuimz commented 6 years ago

ssl:// with port 700 works for me.

Thanks!