diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index ecdd251b4..c06099265 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -232,6 +232,7 @@ class RemoteFilesystem && preg_match("|Peer certificate CN=`(.*)' did not match|i", $errorMessage, $matches)) { $this->retryTls = false; $expectedCommonName = $matches[1]; + $this->io->write(" Retrying download from ".$originUrl." with SSL Cert Common Name (CN): ".$expectedCommonName.""); return $this->get($this->originUrl, $this->fileUrl, $additionalOptions, $this->fileName, $this->progress, $expectedCommonName); } }