diff --git a/modules/registrars/cozaepp/Net/EPP/Client.php b/modules/registrars/cozaepp/Net/EPP/Client.php
index bf7af69c1b4c02d5ae448b951571f0f299d5b9ea..61d9332a404948b8e2f742c7ddeda61c26e77726 100644
--- a/modules/registrars/cozaepp/Net/EPP/Client.php
+++ b/modules/registrars/cozaepp/Net/EPP/Client.php
@@ -55,7 +55,7 @@
 		* @return a string containing the server <greeting>
 		*/
 		function connect($host, $port=700, $timeout=1, $ssl=true, $context=NULL) {
-			$target = sprintf('%s://%s:%d', ($ssl === true ? 'tls' : 'tcp'), $host, $port);
+			$target = sprintf('%s://%s:%d', ($ssl === true ? 'ssl' : 'tcp'), $host, $port);
 			if (is_resource($context)) {
 				$result = stream_socket_client($target, $errno, $errstr, $timeout, STREAM_CLIENT_CONNECT, $context);